unictive-angular 1.0.13 → 1.0.15
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/README.md +25 -0
- package/bin/index.js +11 -7
- package/bin/utils/auth.js +0 -3
- package/bin/utils/createStructure.js +36 -7
- package/bin/utils/{setupAssets.js → refactorAngularJson.js} +63 -3
- package/bin/utils/resource/.postcssrc.json +12 -0
- package/bin/utils/resource/package.json +48 -0
- package/bin/utils/resource/src/app/MODULES/auth/README.md +10 -0
- package/bin/utils/resource/src/app/MODULES/dashboard/README.md +10 -0
- package/bin/utils/resource/src/app/MODULES/home/README.md +10 -0
- package/bin/utils/resource/src/app/app.config.ts +20 -0
- package/bin/utils/resource/src/app/app.html +263 -0
- package/bin/utils/resource/src/app/app.routes.ts +3 -0
- package/bin/utils/resource/src/app/app.scss +6 -0
- package/bin/utils/resource/src/app/app.spec.ts +25 -0
- package/bin/utils/resource/src/app/app.ts +32 -0
- package/bin/utils/resource/src/app/core/README.md +10 -0
- package/bin/utils/resource/src/app/core/config/README.md +10 -0
- package/bin/utils/resource/src/app/core/guards/README.md +10 -0
- package/bin/utils/resource/src/app/core/interceptors/README.md +10 -0
- package/bin/utils/resource/src/app/core/interceptors/error.interceptor.ts +47 -0
- package/bin/utils/resource/src/app/core/interceptors/jsonrpc.ts +440 -0
- package/bin/utils/resource/src/app/core/interceptors/jwt.interceptor.ts +36 -0
- package/bin/utils/resource/src/app/core/models/README.md +10 -0
- package/bin/utils/resource/src/app/core/services/README.md +10 -0
- package/bin/utils/resource/src/app/shared/README.md +10 -0
- package/bin/utils/resource/src/app/shared/directives/README.md +10 -0
- package/bin/utils/resource/src/app/shared/pipes/README.md +10 -0
- package/bin/utils/resource/src/app/shared/ui/README.md +10 -0
- package/bin/utils/resource/src/app/shared/utils/README.md +10 -0
- package/bin/utils/resource/src/app/shared/utils/logger.ts +40 -0
- package/bin/utils/resource/src/app/shared/widgets/test/test.component.css +0 -0
- package/bin/utils/resource/src/app/shared/widgets/test/test.component.html +20 -0
- package/bin/utils/resource/src/app/shared/widgets/test/test.component.ts +56 -0
- package/bin/utils/resource/src/app/shared/widgets/test/test.module.ts +10 -0
- package/bin/utils/resource/src/environments/environment.prod.ts +6 -0
- package/bin/utils/resource/src/environments/environment.staging.ts +6 -0
- package/bin/utils/resource/src/environments/environment.ts +6 -0
- package/bin/utils/resource/src/index.html +16 -0
- package/bin/utils/resource/src/main.ts +6 -0
- package/bin/utils/resource/src/styles.scss +2 -0
- package/bin/utils/resource/src/tailwind.css +11 -0
- package/bin/utils/resource/tailwind.config.js +19 -0
- package/bin/utils/resource/tsconfig.json +46 -0
- package/coba/.editorconfig +17 -0
- package/coba/.postcssrc.json +12 -0
- package/coba/.vscode/extensions.json +4 -0
- package/coba/.vscode/launch.json +20 -0
- package/coba/.vscode/tasks.json +42 -0
- package/coba/README.md +59 -0
- package/coba/angular.json +102 -0
- package/coba/package-lock.json +10696 -0
- package/coba/package.json +48 -0
- package/coba/public/favicon.ico +0 -0
- package/coba/src/app/MODULES/auth/README.md +10 -0
- package/coba/src/app/MODULES/dashboard/README.md +10 -0
- package/coba/src/app/MODULES/home/README.md +10 -0
- package/coba/src/app/app.config.ts +20 -0
- package/coba/src/app/app.html +263 -0
- package/coba/src/app/app.routes.ts +3 -0
- package/coba/src/app/app.scss +6 -0
- package/coba/src/app/app.spec.ts +25 -0
- package/coba/src/app/app.ts +32 -0
- package/coba/src/app/core/README.md +10 -0
- package/coba/src/app/core/config/README.md +10 -0
- package/coba/src/app/core/guards/README.md +10 -0
- package/coba/src/app/core/interceptors/README.md +10 -0
- package/coba/src/app/core/interceptors/error.interceptor.ts +47 -0
- package/coba/src/app/core/interceptors/jsonrpc.ts +440 -0
- package/coba/src/app/core/interceptors/jwt.interceptor.ts +36 -0
- package/coba/src/app/core/models/README.md +10 -0
- package/coba/src/app/core/services/README.md +10 -0
- package/coba/src/app/shared/README.md +10 -0
- package/coba/src/app/shared/directives/README.md +10 -0
- package/coba/src/app/shared/pipes/README.md +10 -0
- package/coba/src/app/shared/ui/README.md +10 -0
- package/coba/src/app/shared/utils/README.md +10 -0
- package/coba/src/app/shared/utils/logger.ts +40 -0
- package/coba/src/app/shared/widgets/test/test.component.css +0 -0
- package/coba/src/app/shared/widgets/test/test.component.html +20 -0
- package/coba/src/app/shared/widgets/test/test.component.ts +56 -0
- package/coba/src/app/shared/widgets/test/test.module.ts +10 -0
- package/coba/src/environments/environment.prod.ts +6 -0
- package/coba/src/environments/environment.staging.ts +6 -0
- package/coba/src/environments/environment.ts +6 -0
- package/coba/src/index.html +16 -0
- package/coba/src/main.ts +6 -0
- package/coba/src/styles.scss +2 -0
- package/coba/src/tailwind.css +11 -0
- package/coba/tailwind.config.js +19 -0
- package/coba/tsconfig.app.json +15 -0
- package/coba/tsconfig.json +46 -0
- package/coba/tsconfig.spec.json +14 -0
- package/package.json +1 -1
- package/test/node_modules/@tailwindcss/oxide-win32-x64-msvc/tailwindcss-oxide.win32-x64-msvc.node +0 -0
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
|
|
4
|
+
<head>
|
|
5
|
+
<meta charset="utf-8">
|
|
6
|
+
<title>Angular</title>
|
|
7
|
+
<base href="/">
|
|
8
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
9
|
+
<link rel="icon" type="image/x-icon" href="favicon.ico">
|
|
10
|
+
</head>
|
|
11
|
+
|
|
12
|
+
<body>
|
|
13
|
+
<app-root></app-root>
|
|
14
|
+
</body>
|
|
15
|
+
|
|
16
|
+
</html>
|
package/coba/src/main.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/* You can add global styles to this file, and also import other style files */
|
|
2
|
+
@import "tailwindcss";
|
|
3
|
+
/* @import "~@ng-select/ng-select/themes/default.theme.css"; */
|
|
4
|
+
/* @import "./theme/components.scss";
|
|
5
|
+
@import "./theme/fontstyle.scss";
|
|
6
|
+
@import "./theme/typography.scss";
|
|
7
|
+
@import "./theme/variables.scss"; */
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
// tailwind.config.js
|
|
2
|
+
module.exports = {
|
|
3
|
+
content: ["./src/**/*.{html,ts,scss}"], // sesuaikan dengan proyekmu
|
|
4
|
+
|
|
5
|
+
theme: {
|
|
6
|
+
extend: {
|
|
7
|
+
colors: {
|
|
8
|
+
brand: '#1E40AF', // kamu bisa ganti nama dan nilainya
|
|
9
|
+
},
|
|
10
|
+
fontFamily: {
|
|
11
|
+
inter_bold: ['Inter-Bold', 'sans-serif'],
|
|
12
|
+
inter_semibold: ['Inter-Semibold', 'sans-serif'],
|
|
13
|
+
inter_regular: ['Inter-Regular', 'sans-serif'],
|
|
14
|
+
},
|
|
15
|
+
},
|
|
16
|
+
},
|
|
17
|
+
plugins: [],
|
|
18
|
+
}
|
|
19
|
+
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */
|
|
2
|
+
/* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */
|
|
3
|
+
{
|
|
4
|
+
"extends": "./tsconfig.json",
|
|
5
|
+
"compilerOptions": {
|
|
6
|
+
"outDir": "./out-tsc/app",
|
|
7
|
+
"types": []
|
|
8
|
+
},
|
|
9
|
+
"include": [
|
|
10
|
+
"src/**/*.ts"
|
|
11
|
+
],
|
|
12
|
+
"exclude": [
|
|
13
|
+
"src/**/*.spec.ts"
|
|
14
|
+
]
|
|
15
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */
|
|
2
|
+
/* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */
|
|
3
|
+
{
|
|
4
|
+
"compileOnSave": false,
|
|
5
|
+
"compilerOptions": {
|
|
6
|
+
"baseUrl": "./",
|
|
7
|
+
"strict": true,
|
|
8
|
+
"noImplicitOverride": true,
|
|
9
|
+
"noPropertyAccessFromIndexSignature": true,
|
|
10
|
+
"noImplicitReturns": true,
|
|
11
|
+
"noFallthroughCasesInSwitch": true,
|
|
12
|
+
"skipLibCheck": true,
|
|
13
|
+
"isolatedModules": true,
|
|
14
|
+
"experimentalDecorators": true,
|
|
15
|
+
"importHelpers": true,
|
|
16
|
+
"target": "ES2022",
|
|
17
|
+
"module": "preserve",
|
|
18
|
+
"paths": {
|
|
19
|
+
"@api": ["src/app/API"],
|
|
20
|
+
"@api/*": ["src/app/API/*"],
|
|
21
|
+
"@core": ["src/app/core"],
|
|
22
|
+
"@core/*": ["src/app/core/*"],
|
|
23
|
+
"@MODULES": ["src/app/MODULES"],
|
|
24
|
+
"@MODULES/*": ["src/app/MODULES/*"],
|
|
25
|
+
"@shared": ["src/app/shared"],
|
|
26
|
+
"@shared/*": ["src/app/shared/*"],
|
|
27
|
+
},
|
|
28
|
+
},
|
|
29
|
+
"angularCompilerOptions": {
|
|
30
|
+
"enableI18nLegacyMessageIdFormat": false,
|
|
31
|
+
"strictInjectionParameters": true,
|
|
32
|
+
"strictInputAccessModifiers": true,
|
|
33
|
+
"typeCheckHostBindings": true,
|
|
34
|
+
"strictTemplates": true
|
|
35
|
+
},
|
|
36
|
+
|
|
37
|
+
"files": [],
|
|
38
|
+
"references": [
|
|
39
|
+
{
|
|
40
|
+
"path": "./tsconfig.app.json"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"path": "./tsconfig.spec.json"
|
|
44
|
+
}
|
|
45
|
+
]
|
|
46
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */
|
|
2
|
+
/* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */
|
|
3
|
+
{
|
|
4
|
+
"extends": "./tsconfig.json",
|
|
5
|
+
"compilerOptions": {
|
|
6
|
+
"outDir": "./out-tsc/spec",
|
|
7
|
+
"types": [
|
|
8
|
+
"jasmine"
|
|
9
|
+
]
|
|
10
|
+
},
|
|
11
|
+
"include": [
|
|
12
|
+
"src/**/*.ts"
|
|
13
|
+
]
|
|
14
|
+
}
|
package/package.json
CHANGED