@sankhyalabs/sankhyablocks 1.0.9 → 1.1.12
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/LICENSE +21 -0
- package/README.md +61 -26
- package/dist/cjs/index-d3250310.js +728 -0
- package/dist/cjs/index.cjs.js +2 -0
- package/dist/cjs/loader.cjs.js +21 -0
- package/dist/cjs/sankhyablocks.cjs.js +19 -0
- package/dist/cjs/snk-application.cjs.entry.js +7872 -0
- package/dist/collection/collection-manifest.json +12 -0
- package/dist/collection/components/snk-application/snk-application.css +5 -0
- package/dist/collection/components/snk-application/snk-application.js +450 -0
- package/dist/collection/index.js +1 -0
- package/dist/collection/lib/http/data-fetcher/DataFetcher.js +158 -0
- package/dist/collection/lib/http/data-fetcher/fetchers/application-config-fetcher.js +23 -0
- package/dist/collection/lib/http/data-fetcher/fetchers/dataunit-fetcher.js +157 -0
- package/dist/collection/lib/http/data-fetcher/fetchers/form-config-fetcher.js +2 -0
- package/dist/collection/lib/http/data-fetcher/fetchers/grid-config-fetcher.js +2 -0
- package/dist/collection/lib/http/data-fetcher/fetchers/parameters-fecher.js +59 -0
- package/dist/collection/lib/http/data-fetcher/state/LoadStateManager.js +66 -0
- package/dist/collection/lib/utils/urlutils.js +23 -0
- package/dist/collection/lib/workspace/workspace.js +7 -0
- package/dist/collection/temp/ApplicationUtils.js +31 -0
- package/dist/components/index.d.ts +26 -0
- package/dist/components/index.js +1 -0
- package/dist/components/snk-application.d.ts +11 -0
- package/dist/components/snk-application.js +7900 -0
- package/dist/esm/index-781079ed.js +702 -0
- package/dist/esm/index.js +1 -0
- package/dist/esm/loader.js +17 -0
- package/dist/esm/polyfills/core-js.js +11 -0
- package/dist/esm/polyfills/css-shim.js +1 -0
- package/dist/esm/polyfills/dom.js +79 -0
- package/dist/esm/polyfills/es5-html-element.js +1 -0
- package/dist/esm/polyfills/index.js +34 -0
- package/dist/esm/polyfills/system.js +6 -0
- package/dist/esm/sankhyablocks.js +17 -0
- package/dist/esm/snk-application.entry.js +7868 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -17138
- package/dist/sankhyablocks/index.esm.js +0 -0
- package/dist/sankhyablocks/p-080303d6.entry.js +53 -0
- package/dist/sankhyablocks/p-83177bdc.js +1 -0
- package/dist/sankhyablocks/sankhyablocks.esm.js +1 -0
- package/dist/types/components/snk-application/snk-application.d.ts +38 -0
- package/dist/types/components.d.ts +60 -0
- package/dist/types/index.d.ts +1 -5
- package/dist/types/lib/http/data-fetcher/DataFetcher.d.ts +15 -0
- package/dist/types/lib/http/data-fetcher/fetchers/application-config-fetcher.d.ts +6 -0
- package/dist/types/lib/http/data-fetcher/fetchers/dataunit-fetcher.d.ts +10 -0
- package/dist/types/{http → lib/http/data-fetcher}/fetchers/form-config-fetcher.d.ts +0 -0
- package/dist/types/{http → lib/http/data-fetcher}/fetchers/grid-config-fetcher.d.ts +0 -0
- package/dist/types/lib/http/data-fetcher/fetchers/parameters-fecher.d.ts +13 -0
- package/dist/types/lib/http/data-fetcher/state/LoadStateManager.d.ts +23 -0
- package/dist/types/lib/utils/urlutils.d.ts +4 -0
- package/dist/types/lib/workspace/workspace.d.ts +4 -0
- package/dist/types/stencil-public-runtime.d.ts +1565 -0
- package/dist/types/temp/ApplicationUtils.d.ts +7 -0
- package/loader/cdn.js +3 -0
- package/loader/index.cjs.js +3 -0
- package/loader/index.d.ts +12 -0
- package/loader/index.es2017.js +3 -0
- package/loader/index.js +4 -0
- package/loader/package.json +10 -0
- package/package.json +43 -81
- package/dist/index.js.map +0 -1
- package/dist/types/application/AppParameterProvider.d.ts +0 -10
- package/dist/types/application/SankhyaAppProvider.d.ts +0 -15
- package/dist/types/http/fetchers/application-config-fetcher.d.ts +0 -6
- package/dist/types/http/fetchers/dataunit-fetcher.d.ts +0 -10
- package/dist/types/http/fetchers/parameters-fecher.d.ts +0 -13
- package/dist/types/utils/urlutils.d.ts +0 -4
- package/dist/types/workspace/workspace.d.ts +0 -4
- package/tsconfig.json +0 -17
- package/webpack.config.demo.js +0 -47
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export default class ApplicationUtils {
|
|
2
|
+
private static showDialog;
|
|
3
|
+
static alert(title: string, message: string, icon?: string): Promise<boolean>;
|
|
4
|
+
static error(title: string, message: string, icon?: string): Promise<boolean>;
|
|
5
|
+
static confirm(title: string, message: string, icon?: string, critical?: boolean): Promise<boolean>;
|
|
6
|
+
static info(message: string): Promise<void>;
|
|
7
|
+
}
|
package/loader/cdn.js
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export * from '../dist/types/components';
|
|
2
|
+
export interface CustomElementsDefineOptions {
|
|
3
|
+
exclude?: string[];
|
|
4
|
+
resourcesUrl?: string;
|
|
5
|
+
syncQueue?: boolean;
|
|
6
|
+
jmp?: (c: Function) => any;
|
|
7
|
+
raf?: (c: FrameRequestCallback) => number;
|
|
8
|
+
ael?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
|
|
9
|
+
rel?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
|
|
10
|
+
}
|
|
11
|
+
export declare function defineCustomElements(win?: Window, opts?: CustomElementsDefineOptions): Promise<void>;
|
|
12
|
+
export declare function applyPolyfills(): Promise<void>;
|
package/loader/index.js
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
|
|
2
|
+
(function(){if("undefined"!==typeof window&&void 0!==window.Reflect&&void 0!==window.customElements){var a=HTMLElement;window.HTMLElement=function(){return Reflect.construct(a,[],this.constructor)};HTMLElement.prototype=a.prototype;HTMLElement.prototype.constructor=HTMLElement;Object.setPrototypeOf(HTMLElement,a)}})();
|
|
3
|
+
export * from '../dist/esm/polyfills/index.js';
|
|
4
|
+
export * from '../dist/esm/loader.js';
|
package/package.json
CHANGED
|
@@ -1,81 +1,43 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@sankhyalabs/sankhyablocks",
|
|
3
|
-
"version": "1.
|
|
4
|
-
"description": "
|
|
5
|
-
"main": "dist/index.js",
|
|
6
|
-
"
|
|
7
|
-
"
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
"
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
"
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
"
|
|
22
|
-
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
"@
|
|
31
|
-
"@
|
|
32
|
-
"@
|
|
33
|
-
"@
|
|
34
|
-
"
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
"@
|
|
38
|
-
"
|
|
39
|
-
"
|
|
40
|
-
"
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
"file-loader": "^6.2.0",
|
|
45
|
-
"html-webpack-plugin": "^5.5.0",
|
|
46
|
-
"jest": "^27.5.1",
|
|
47
|
-
"mini-css-extract-plugin": "^2.6.0",
|
|
48
|
-
"optimize-css-assets-webpack-plugin": "^6.0.1",
|
|
49
|
-
"prettier": "^2.6.2",
|
|
50
|
-
"prettier-webpack-plugin": "^1.2.0",
|
|
51
|
-
"style-loader": "^3.3.1",
|
|
52
|
-
"terser-webpack-plugin": "^5.3.1",
|
|
53
|
-
"typescript": "^4.6.3",
|
|
54
|
-
"url-loader": "^4.1.1",
|
|
55
|
-
"webpack": "^5.72.0",
|
|
56
|
-
"webpack-cli": "^4.9.2",
|
|
57
|
-
"webpack-dev-server": "4.8.1"
|
|
58
|
-
},
|
|
59
|
-
"jest": {
|
|
60
|
-
"moduleNameMapper": {
|
|
61
|
-
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/scripts/testMock.js",
|
|
62
|
-
"\\.(css|less)$": "<rootDir>/scripts/testMock.js"
|
|
63
|
-
},
|
|
64
|
-
"moduleFileExtensions": [
|
|
65
|
-
"web.js",
|
|
66
|
-
"js",
|
|
67
|
-
"web.ts",
|
|
68
|
-
"ts",
|
|
69
|
-
"web.tsx",
|
|
70
|
-
"tsx",
|
|
71
|
-
"json",
|
|
72
|
-
"web.jsx",
|
|
73
|
-
"jsx",
|
|
74
|
-
"node"
|
|
75
|
-
]
|
|
76
|
-
},
|
|
77
|
-
"dependencies": {
|
|
78
|
-
"@sankhyalabs/ezui": "^1.1.81",
|
|
79
|
-
"graphql-request": "^4.2.0"
|
|
80
|
-
}
|
|
81
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@sankhyalabs/sankhyablocks",
|
|
3
|
+
"version": "1.1.12",
|
|
4
|
+
"description": "Stencil Component Starter",
|
|
5
|
+
"main": "dist/index.cjs.js",
|
|
6
|
+
"module": "dist/index.js",
|
|
7
|
+
"es2015": "dist/esm/index.mjs",
|
|
8
|
+
"es2017": "dist/esm/index.mjs",
|
|
9
|
+
"types": "dist/types/index.d.ts",
|
|
10
|
+
"collection": "dist/collection/collection-manifest.json",
|
|
11
|
+
"collection:main": "dist/collection/index.js",
|
|
12
|
+
"unpkg": "dist/sankhyablocks/sankhyablocks.esm.js",
|
|
13
|
+
"repository": {
|
|
14
|
+
"type": "git",
|
|
15
|
+
"url": "https://github.com/ionic-team/stencil-component-starter.git"
|
|
16
|
+
},
|
|
17
|
+
"files": [
|
|
18
|
+
"dist/",
|
|
19
|
+
"loader/"
|
|
20
|
+
],
|
|
21
|
+
"scripts": {
|
|
22
|
+
"build": "stencil build --docs",
|
|
23
|
+
"start": "stencil build --dev --watch --serve",
|
|
24
|
+
"test": "stencil test --spec --e2e",
|
|
25
|
+
"test.watch": "stencil test --spec --e2e --watchAll",
|
|
26
|
+
"generate": "stencil generate",
|
|
27
|
+
"link": "node link.js"
|
|
28
|
+
},
|
|
29
|
+
"dependencies": {
|
|
30
|
+
"@sankhyalabs/core": "^1.0.34",
|
|
31
|
+
"@sankhyalabs/ezui": "^1.1.86",
|
|
32
|
+
"@stencil/core": "^2.13.0",
|
|
33
|
+
"@stencil/react-output-target": "^0.3.1",
|
|
34
|
+
"graphql-request": "^4.2.0"
|
|
35
|
+
},
|
|
36
|
+
"devDependencies": {
|
|
37
|
+
"@types/jest": "^27.0.3",
|
|
38
|
+
"jest": "^27.4.5",
|
|
39
|
+
"jest-cli": "^27.4.5",
|
|
40
|
+
"puppeteer": "^10.0.0"
|
|
41
|
+
},
|
|
42
|
+
"license": "MIT"
|
|
43
|
+
}
|