@limetech/limepkg-cpq-order 2.8.0-dev.1

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 (51) hide show
  1. package/README.md +78 -0
  2. package/dist/index.cjs.js +1 -0
  3. package/dist/types/classes/base.d.ts +27 -0
  4. package/dist/types/classes/deal.d.ts +7 -0
  5. package/dist/types/classes/index.d.ts +3 -0
  6. package/dist/types/classes/item.d.ts +32 -0
  7. package/dist/types/classes/number.d.ts +3 -0
  8. package/dist/types/classes/order.d.ts +10 -0
  9. package/dist/types/components/article-selector/article-group-picker.d.ts +25 -0
  10. package/dist/types/components/article-selector/article-picker.d.ts +25 -0
  11. package/dist/types/components/article-selector/article-selector.d.ts +35 -0
  12. package/dist/types/components/article-selector-layout/article-selector-layout.d.ts +3 -0
  13. package/dist/types/components/cpq-tab/cpq-tab.d.ts +27 -0
  14. package/dist/types/components/deal-view/deal-view.d.ts +30 -0
  15. package/dist/types/components/dynamic-properties/dynamic-properties.d.ts +23 -0
  16. package/dist/types/components/edit-item-dialog/edit-item-dialog.d.ts +52 -0
  17. package/dist/types/components/erp-status/erp-status.d.ts +20 -0
  18. package/dist/types/components/erp-status/flow-items.d.ts +9 -0
  19. package/dist/types/components/item-form/item-form.d.ts +130 -0
  20. package/dist/types/components/item-summary/item-summary.d.ts +20 -0
  21. package/dist/types/components/item-table/item-table.d.ts +23 -0
  22. package/dist/types/components/loader/coc-loader.d.ts +19 -0
  23. package/dist/types/components/new-order-dialog/new-order-dialog.d.ts +26 -0
  24. package/dist/types/components/order-card/order-card.d.ts +22 -0
  25. package/dist/types/components/order-view/order-view.d.ts +30 -0
  26. package/dist/types/components/template-selector/template-selector.d.ts +25 -0
  27. package/dist/types/components.d.ts +723 -0
  28. package/dist/types/index.d.ts +2 -0
  29. package/dist/types/interface.d.ts +6 -0
  30. package/dist/types/interfaces/article-selector.d.ts +23 -0
  31. package/dist/types/interfaces/config.d.ts +106 -0
  32. package/dist/types/interfaces/index.d.ts +3 -0
  33. package/dist/types/interfaces/objects.d.ts +73 -0
  34. package/dist/types/services/article.d.ts +7 -0
  35. package/dist/types/services/deal.d.ts +5 -0
  36. package/dist/types/services/documenttemplate.service.interface.d.ts +142 -0
  37. package/dist/types/services/index.d.ts +8 -0
  38. package/dist/types/services/item.d.ts +6 -0
  39. package/dist/types/services/limetype.d.ts +4 -0
  40. package/dist/types/services/notification.d.ts +3 -0
  41. package/dist/types/services/order.d.ts +6 -0
  42. package/dist/types/services/servercommand.service.interface.d.ts +36 -0
  43. package/dist/types/services/template.d.ts +4 -0
  44. package/dist/types/services/translate.d.ts +2 -0
  45. package/dist/types/stencil-public-runtime.d.ts +1565 -0
  46. package/dist/types/testing/config.d.ts +2 -0
  47. package/dist/types/testing/index.d.ts +4 -0
  48. package/dist/types/testing/limetype.d.ts +3 -0
  49. package/dist/types/testing/schema.d.ts +33 -0
  50. package/dist/types/testing/views.d.ts +140 -0
  51. package/package.json +61 -0
@@ -0,0 +1,2 @@
1
+ import { Iconfig } from 'src/interfaces';
2
+ export declare const config: Iconfig;
@@ -0,0 +1,4 @@
1
+ export * from './schema';
2
+ export * from './limetype';
3
+ export * from './config';
4
+ export * from './views';
@@ -0,0 +1,3 @@
1
+ import { LimeType } from '@limetech/lime-web-components';
2
+ export declare const dealarticle: LimeType;
3
+ export declare const cpqlimetypes: Record<string, LimeType>;
@@ -0,0 +1,33 @@
1
+ export declare const schemas: {
2
+ deal: {
3
+ definitions: {
4
+ DealSchema: {
5
+ properties: {
6
+ name: {
7
+ title: string;
8
+ type: string;
9
+ maxLength: number;
10
+ };
11
+ company: {
12
+ title: string;
13
+ type: string[];
14
+ };
15
+ currency: {
16
+ title: string;
17
+ type: string[];
18
+ maxLength: number;
19
+ };
20
+ subtotal: {
21
+ title: string;
22
+ type: string;
23
+ format: string;
24
+ };
25
+ required: string[];
26
+ type: string;
27
+ dependencies: {};
28
+ additionalProperties: boolean;
29
+ };
30
+ };
31
+ };
32
+ };
33
+ };
@@ -0,0 +1,140 @@
1
+ export declare const views: {
2
+ document: {
3
+ id: string;
4
+ version: any;
5
+ config: {
6
+ general: {
7
+ primaryTitle: {
8
+ property: string;
9
+ }[];
10
+ icon: string;
11
+ color: string;
12
+ create: boolean;
13
+ inlineCreate: boolean;
14
+ bulkDeleteObjects: boolean;
15
+ views: {
16
+ view: {
17
+ props: {};
18
+ name: string;
19
+ };
20
+ title: string;
21
+ icon: string;
22
+ }[];
23
+ enableGlobalSearch: boolean;
24
+ globalTablesMenu: boolean;
25
+ };
26
+ card: {
27
+ sections: {
28
+ collapsed: boolean;
29
+ layout: {
30
+ columns: number;
31
+ dense: boolean;
32
+ };
33
+ controls: ({
34
+ layout: {};
35
+ component: {
36
+ props: {};
37
+ };
38
+ property: string;
39
+ query?: undefined;
40
+ autoAttach?: undefined;
41
+ contactInfo?: undefined;
42
+ readonly?: undefined;
43
+ } | {
44
+ layout: {};
45
+ query: {
46
+ filter: {};
47
+ };
48
+ component: {
49
+ props: {};
50
+ };
51
+ property: string;
52
+ autoAttach: boolean;
53
+ contactInfo: boolean;
54
+ readonly?: undefined;
55
+ } | {
56
+ layout: {};
57
+ query: {
58
+ filter: {};
59
+ };
60
+ component: {
61
+ props: {};
62
+ };
63
+ property: string;
64
+ autoAttach?: undefined;
65
+ contactInfo?: undefined;
66
+ readonly?: undefined;
67
+ } | {
68
+ layout: {};
69
+ query: {
70
+ filter: {};
71
+ };
72
+ component: {
73
+ props: {};
74
+ };
75
+ property: string;
76
+ readonly: boolean;
77
+ autoAttach?: undefined;
78
+ contactInfo?: undefined;
79
+ } | {
80
+ layout: {};
81
+ query: {
82
+ filter: {};
83
+ };
84
+ component: {
85
+ props: {};
86
+ };
87
+ property: string;
88
+ autoAttach: boolean;
89
+ contactInfo?: undefined;
90
+ readonly?: undefined;
91
+ })[];
92
+ title: string;
93
+ }[];
94
+ relations: any[];
95
+ components: {
96
+ props: {};
97
+ name: string;
98
+ }[];
99
+ };
100
+ list: {
101
+ header: {
102
+ property: string;
103
+ }[];
104
+ subheader: {
105
+ property: string;
106
+ }[];
107
+ };
108
+ search: {
109
+ header: {
110
+ property: string;
111
+ }[];
112
+ subheader: {
113
+ property: string;
114
+ }[];
115
+ };
116
+ table: {
117
+ columns: {
118
+ isDefault: boolean;
119
+ component: {
120
+ props: {};
121
+ };
122
+ property: string;
123
+ }[];
124
+ actions: ({
125
+ params: {
126
+ exportFormat?: undefined;
127
+ };
128
+ id: string;
129
+ label: string;
130
+ } | {
131
+ params: {
132
+ exportFormat: string;
133
+ };
134
+ id: string;
135
+ label: string;
136
+ })[];
137
+ };
138
+ };
139
+ };
140
+ };
package/package.json ADDED
@@ -0,0 +1,61 @@
1
+ {
2
+ "name": "@limetech/limepkg-cpq-order",
3
+ "version": "2.8.0-dev.1",
4
+ "description": "CPQ Order",
5
+ "author": "Lime Technologies",
6
+ "license": "Apache-2.0",
7
+ "module": "dist/index.js",
8
+ "es2015": "dist/esm/index.js",
9
+ "es2017": "dist/esm/index.js",
10
+ "jsnext:main": "dist/esm/index.js",
11
+ "main": "dist/index.cjs.js",
12
+ "types": "dist/types/index.d.ts",
13
+ "collection": "dist/collection/collection-manifest.json",
14
+ "files": [
15
+ "dist/types/"
16
+ ],
17
+ "publishConfig": {
18
+ "access": "public"
19
+ },
20
+ "scripts": {
21
+ "build": "cross-env-shell SASS_PATH=node_modules \"stencil build --config stencil.config.dist.ts\"",
22
+ "dev": "cross-env-shell SASS_PATH=node_modules \"stencil build --dev --docs\"",
23
+ "dev:watch": "cross-env-shell SASS_PATH=node_modules \"stencil build --dev --watch --docs\"",
24
+ "dev:es5": "cross-env-shell SASS_PATH=node_modules \"stencil build --dev --docs --es5\"",
25
+ "dev:es5:watch": "cross-env-shell SASS_PATH=node_modules \"stencil build --dev --watch --docs --es5\"",
26
+ "lint": "npm run lint:src && npm run lint:scss",
27
+ "lint:fix": "npm run lint:src:fix && npm run lint:scss:fix",
28
+ "lint:prod": "npm run lint:src:prod && npm run lint:scss:prod",
29
+ "lint:src": "eslint \"**/*.{ts,tsx,js}\" && prettier -c \"{!(package*).json,.prettierrc}\"",
30
+ "lint:src:fix": "eslint \"**/*.{ts,tsx,js}\" --fix && prettier --write \"{!(package*).json,.prettierrc}\"",
31
+ "lint:src:prod": "eslint \"**/*.{ts,tsx,js}\" --rule \"linebreak-style: [error, unix]\" && prettier -c \"{!(package*).json,.prettierrc}\"",
32
+ "lint:scss": "prettier -c --no-error-on-unmatched-pattern --ignore-path ./.gitignore **/*.scss",
33
+ "lint:scss:fix": "prettier --write --no-error-on-unmatched-pattern --ignore-path ./.gitignore **/*.scss",
34
+ "lint:scss:prod": "prettier -c --no-error-on-unmatched-pattern --end-of-line lf --ignore-path ./.gitignore **/*.scss",
35
+ "prepublishOnly": "node validate-files.js",
36
+ "start": "npm run dev:watch",
37
+ "start:es5": "npm run dev:es5:watch",
38
+ "test": "cross-env-shell SASS_PATH=node_modules \"stencil test --spec\"",
39
+ "test:watch": "stencil test --spec --watchAll",
40
+ "test:coverage": "stencil test --spec --coverage --collectCoverageFrom '[\"./src/**/*.{ts,tsx}\", \"!./src/**/*.d.{ts,tsx}\", \"!./src/components/*-loader/*-loader.tsx\"]'"
41
+ },
42
+ "devDependencies": {
43
+ "@limetech/lime-elements": "^36.0.0",
44
+ "@limetech/lime-web-components": "^5.0.1",
45
+ "@stencil/core": "^2.17.4",
46
+ "@stencil/sass": "^1.5.2",
47
+ "@types/jest": "^27.0.3",
48
+ "@typescript-eslint/eslint-plugin": "^5.53.0",
49
+ "cross-env": "^7.0.3",
50
+ "eslint": "^7.32.0",
51
+ "eslint-config-prettier": "^8.5.0",
52
+ "eslint-plugin-jsdoc": "^39.3.6",
53
+ "eslint-plugin-prefer-arrow": "^1.2.3",
54
+ "eslint-plugin-prettier": "^4.0.0",
55
+ "eslint-plugin-sonarjs": "^0.13.0",
56
+ "jest": "^27.0.1",
57
+ "jest-cli": "^27.5.1",
58
+ "shx": "^0.3.3",
59
+ "uuid": "^8.3.2"
60
+ }
61
+ }