@limetech/limepkg-cpq-order 2.14.2-dev.1 → 2.14.2-dev.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.
@@ -0,0 +1,15 @@
1
+ import { LimeWebComponent, LimeWebComponentContext, LimeWebComponentPlatform } from '@limetech/lime-web-components';
2
+ import { FormComponent } from '@limetech/lime-elements';
3
+ import { EventEmitter } from '../../../stencil-public-runtime';
4
+ import { JSX } from 'src/interface';
5
+ declare type VatProps = Pick<JSX.CocVatSelector, 'vatBehaviour'>;
6
+ export declare class VatSelector implements LimeWebComponent, FormComponent<VatProps> {
7
+ platform: LimeWebComponentPlatform;
8
+ context: LimeWebComponentContext;
9
+ value: VatProps;
10
+ change: EventEmitter<VatProps>;
11
+ private vatBehaviours;
12
+ render(): any;
13
+ private handleSelectedValueChanged;
14
+ }
15
+ export {};
@@ -299,6 +299,20 @@ export namespace Components {
299
299
  "value": number;
300
300
  "vatBehaviour": VatBehaviour;
301
301
  }
302
+ interface CocVatSelectorAdminConfig {
303
+ /**
304
+ * The context this component belongs to
305
+ */
306
+ "context": LimeWebComponentContext;
307
+ /**
308
+ * Reference to the platform
309
+ */
310
+ "platform": LimeWebComponentPlatform;
311
+ /**
312
+ * The value of the current property
313
+ */
314
+ "value": VatProps;
315
+ }
302
316
  interface CocVatTableSelector {
303
317
  "context": LimeWebComponentContext;
304
318
  /**
@@ -374,6 +388,10 @@ export interface CocVatSelectorCustomEvent<T> extends CustomEvent<T> {
374
388
  detail: T;
375
389
  target: HTMLCocVatSelectorElement;
376
390
  }
391
+ export interface CocVatSelectorAdminConfigCustomEvent<T> extends CustomEvent<T> {
392
+ detail: T;
393
+ target: HTMLCocVatSelectorAdminConfigElement;
394
+ }
377
395
  declare global {
378
396
  interface HTMLCocArticleGroupPickerElement extends Components.CocArticleGroupPicker, HTMLStencilElement {
379
397
  }
@@ -483,6 +501,12 @@ declare global {
483
501
  prototype: HTMLCocVatSelectorElement;
484
502
  new (): HTMLCocVatSelectorElement;
485
503
  };
504
+ interface HTMLCocVatSelectorAdminConfigElement extends Components.CocVatSelectorAdminConfig, HTMLStencilElement {
505
+ }
506
+ var HTMLCocVatSelectorAdminConfigElement: {
507
+ prototype: HTMLCocVatSelectorAdminConfigElement;
508
+ new (): HTMLCocVatSelectorAdminConfigElement;
509
+ };
486
510
  interface HTMLCocVatTableSelectorElement extends Components.CocVatTableSelector, HTMLStencilElement {
487
511
  }
488
512
  var HTMLCocVatTableSelectorElement: {
@@ -514,6 +538,7 @@ declare global {
514
538
  "coc-position-index": HTMLCocPositionIndexElement;
515
539
  "coc-template-selector": HTMLCocTemplateSelectorElement;
516
540
  "coc-vat-selector": HTMLCocVatSelectorElement;
541
+ "coc-vat-selector-admin-config": HTMLCocVatSelectorAdminConfigElement;
517
542
  "coc-vat-table-selector": HTMLCocVatTableSelectorElement;
518
543
  "lwc-limepkg-cpq-order-loader": HTMLLwcLimepkgCpqOrderLoaderElement;
519
544
  }
@@ -827,6 +852,24 @@ declare namespace LocalJSX {
827
852
  "value"?: number;
828
853
  "vatBehaviour"?: VatBehaviour;
829
854
  }
855
+ interface CocVatSelectorAdminConfig {
856
+ /**
857
+ * The context this component belongs to
858
+ */
859
+ "context"?: LimeWebComponentContext;
860
+ /**
861
+ * The event to emit when the value of the current property has changed
862
+ */
863
+ "onChange"?: (event: CocVatSelectorAdminConfigCustomEvent<VatProps>) => void;
864
+ /**
865
+ * Reference to the platform
866
+ */
867
+ "platform"?: LimeWebComponentPlatform;
868
+ /**
869
+ * The value of the current property
870
+ */
871
+ "value"?: VatProps;
872
+ }
830
873
  interface CocVatTableSelector {
831
874
  "context"?: LimeWebComponentContext;
832
875
  /**
@@ -868,6 +911,7 @@ declare namespace LocalJSX {
868
911
  "coc-position-index": CocPositionIndex;
869
912
  "coc-template-selector": CocTemplateSelector;
870
913
  "coc-vat-selector": CocVatSelector;
914
+ "coc-vat-selector-admin-config": CocVatSelectorAdminConfig;
871
915
  "coc-vat-table-selector": CocVatTableSelector;
872
916
  "lwc-limepkg-cpq-order-loader": LwcLimepkgCpqOrderLoader;
873
917
  }
@@ -894,6 +938,7 @@ declare module "@stencil/core" {
894
938
  "coc-position-index": LocalJSX.CocPositionIndex & JSXBase.HTMLAttributes<HTMLCocPositionIndexElement>;
895
939
  "coc-template-selector": LocalJSX.CocTemplateSelector & JSXBase.HTMLAttributes<HTMLCocTemplateSelectorElement>;
896
940
  "coc-vat-selector": LocalJSX.CocVatSelector & JSXBase.HTMLAttributes<HTMLCocVatSelectorElement>;
941
+ "coc-vat-selector-admin-config": LocalJSX.CocVatSelectorAdminConfig & JSXBase.HTMLAttributes<HTMLCocVatSelectorAdminConfigElement>;
897
942
  "coc-vat-table-selector": LocalJSX.CocVatTableSelector & JSXBase.HTMLAttributes<HTMLCocVatTableSelectorElement>;
898
943
  "lwc-limepkg-cpq-order-loader": LocalJSX.LwcLimepkgCpqOrderLoader & JSXBase.HTMLAttributes<HTMLLwcLimepkgCpqOrderLoaderElement>;
899
944
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@limetech/limepkg-cpq-order",
3
- "version": "2.14.2-dev.1",
3
+ "version": "2.14.2-dev.2",
4
4
  "description": "Type definitions for limepkg-cpq-order frontend",
5
5
  "module": "dist/index.js",
6
6
  "main": "dist/index.cjs.js",