@osovitny/anatoly 1.2.1 → 1.2.4

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 (150) hide show
  1. package/bundles/osovitny-anatoly.umd.js +1476 -0
  2. package/bundles/osovitny-anatoly.umd.js.map +1 -0
  3. package/bundles/osovitny-anatoly.umd.min.js +16 -0
  4. package/bundles/osovitny-anatoly.umd.min.js.map +1 -0
  5. package/esm2015/lib/billing/billing.module.js +60 -0
  6. package/esm2015/lib/billing/components/buyaccess/buyaccess-button.component.js +73 -0
  7. package/esm2015/lib/billing/components/subscriptions/subscribe-plan-button.component.js +63 -0
  8. package/esm2015/lib/billing/components/subscriptions/upgrade-plan-button.component.js +55 -0
  9. package/esm2015/lib/billing/index.js +9 -0
  10. package/esm2015/lib/billing/services/base-billing-api.service.js +53 -0
  11. package/esm2015/lib/core/consts.js +11 -0
  12. package/esm2015/lib/core/core.module.js +45 -0
  13. package/esm2015/lib/core/index.js +9 -0
  14. package/esm2015/lib/core/services/appcontext.service.js +72 -0
  15. package/esm2015/lib/core/services/base-api.service.js +71 -0
  16. package/esm2015/lib/core/services/base-go.service.js +36 -0
  17. package/esm2015/lib/core/services/base-gridedit.service.js +98 -0
  18. package/esm2015/lib/identity/components/signin-button.component.js +30 -0
  19. package/esm2015/lib/identity/components/signout-button.component.js +30 -0
  20. package/esm2015/lib/identity/components/signup-button.component.js +31 -0
  21. package/esm2015/lib/identity/identity.module.js +41 -0
  22. package/esm2015/lib/identity/index.js +7 -0
  23. package/esm2015/lib/ui/components/base-edit.component.js +66 -0
  24. package/esm2015/lib/ui/components/base.component.js +37 -0
  25. package/esm2015/lib/ui/components/content-header/content-header.component.js +35 -0
  26. package/esm2015/lib/ui/components/html-editor/base-html-editor.component.js +86 -0
  27. package/esm2015/lib/ui/components/html-editor/forms-html-editor.component.js +37 -0
  28. package/esm2015/lib/ui/components/html-editor/html-editor.component.js +49 -0
  29. package/esm2015/lib/ui/components/html-editor/html-editor.defaultoptions.js +38 -0
  30. package/esm2015/lib/ui/components/validation/form-validation-summary.component.js +39 -0
  31. package/esm2015/lib/ui/components/validation/item-validation-summary.component.js +37 -0
  32. package/esm2015/lib/ui/components/validation/validation-summary.component.js +60 -0
  33. package/esm2015/lib/ui/index.js +13 -0
  34. package/esm2015/lib/ui/ui.module.js +77 -0
  35. package/esm2015/osovitny-anatoly.js +5 -0
  36. package/esm2015/public-api.js +5 -0
  37. package/esm5/lib/billing/billing.module.js +63 -0
  38. package/esm5/lib/billing/components/buyaccess/buyaccess-button.component.js +75 -0
  39. package/esm5/lib/billing/components/subscriptions/subscribe-plan-button.component.js +65 -0
  40. package/esm5/lib/billing/components/subscriptions/upgrade-plan-button.component.js +56 -0
  41. package/esm5/lib/billing/index.js +9 -0
  42. package/esm5/lib/billing/services/base-billing-api.service.js +56 -0
  43. package/esm5/lib/core/consts.js +11 -0
  44. package/esm5/lib/core/core.module.js +48 -0
  45. package/esm5/lib/core/index.js +9 -0
  46. package/esm5/lib/core/services/appcontext.service.js +76 -0
  47. package/esm5/lib/core/services/base-api.service.js +72 -0
  48. package/esm5/lib/core/services/base-go.service.js +37 -0
  49. package/esm5/lib/core/services/base-gridedit.service.js +104 -0
  50. package/esm5/lib/identity/components/signin-button.component.js +32 -0
  51. package/esm5/lib/identity/components/signout-button.component.js +32 -0
  52. package/esm5/lib/identity/components/signup-button.component.js +32 -0
  53. package/esm5/lib/identity/identity.module.js +44 -0
  54. package/esm5/lib/identity/index.js +7 -0
  55. package/esm5/lib/ui/components/base-edit.component.js +70 -0
  56. package/esm5/lib/ui/components/base.component.js +39 -0
  57. package/esm5/lib/ui/components/content-header/content-header.component.js +38 -0
  58. package/esm5/lib/ui/components/html-editor/base-html-editor.component.js +90 -0
  59. package/esm5/lib/ui/components/html-editor/forms-html-editor.component.js +40 -0
  60. package/esm5/lib/ui/components/html-editor/html-editor.component.js +51 -0
  61. package/esm5/lib/ui/components/html-editor/html-editor.defaultoptions.js +38 -0
  62. package/esm5/lib/ui/components/validation/form-validation-summary.component.js +42 -0
  63. package/esm5/lib/ui/components/validation/item-validation-summary.component.js +39 -0
  64. package/esm5/lib/ui/components/validation/validation-summary.component.js +65 -0
  65. package/esm5/lib/ui/index.js +13 -0
  66. package/esm5/lib/ui/ui.module.js +80 -0
  67. package/esm5/osovitny-anatoly.js +5 -0
  68. package/esm5/public-api.js +5 -0
  69. package/fesm2015/osovitny-anatoly.js +1207 -0
  70. package/fesm2015/osovitny-anatoly.js.map +1 -0
  71. package/fesm5/osovitny-anatoly.js +1267 -0
  72. package/fesm5/osovitny-anatoly.js.map +1 -0
  73. package/lib/billing/billing.module.d.ts +2 -0
  74. package/lib/billing/components/buyaccess/buyaccess-button.component.d.ts +16 -0
  75. package/lib/billing/components/subscriptions/subscribe-plan-button.component.d.ts +15 -0
  76. package/lib/billing/components/subscriptions/upgrade-plan-button.component.d.ts +9 -0
  77. package/{src/lib/billing/index.ts → lib/billing/index.d.ts} +1 -6
  78. package/lib/billing/services/base-billing-api.service.d.ts +9 -0
  79. package/lib/core/consts.d.ts +5 -0
  80. package/lib/core/core.module.d.ts +2 -0
  81. package/{src/lib/core/index.ts → lib/core/index.d.ts} +1 -6
  82. package/lib/core/services/appcontext.service.d.ts +14 -0
  83. package/lib/core/services/base-api.service.d.ts +18 -0
  84. package/lib/core/services/base-go.service.d.ts +7 -0
  85. package/lib/core/services/base-gridedit.service.d.ts +19 -0
  86. package/lib/identity/components/signin-button.component.d.ts +4 -0
  87. package/lib/identity/components/signout-button.component.d.ts +4 -0
  88. package/lib/identity/components/signup-button.component.d.ts +4 -0
  89. package/lib/identity/identity.module.d.ts +2 -0
  90. package/{src/lib/identity/index.ts → lib/identity/index.d.ts} +1 -4
  91. package/lib/ui/components/base-edit.component.d.ts +14 -0
  92. package/lib/ui/components/base.component.d.ts +7 -0
  93. package/lib/ui/components/content-header/content-header.component.d.ts +5 -0
  94. package/lib/ui/components/html-editor/base-html-editor.component.d.ts +16 -0
  95. package/lib/ui/components/html-editor/forms-html-editor.component.d.ts +6 -0
  96. package/lib/ui/components/html-editor/html-editor.component.d.ts +6 -0
  97. package/lib/ui/components/html-editor/html-editor.defaultoptions.d.ts +1 -0
  98. package/lib/ui/components/validation/form-validation-summary.component.d.ts +6 -0
  99. package/lib/ui/components/validation/item-validation-summary.component.d.ts +6 -0
  100. package/lib/ui/components/validation/validation-summary.component.d.ts +6 -0
  101. package/{src/lib/ui/index.ts → lib/ui/index.d.ts} +1 -6
  102. package/lib/ui/ui.module.d.ts +2 -0
  103. package/osovitny-anatoly.d.ts +4 -0
  104. package/osovitny-anatoly.metadata.json +1 -0
  105. package/package.json +13 -2
  106. package/{src/public-api.ts → public-api.d.ts} +4 -4
  107. package/ng-package.json +0 -7
  108. package/src/lib/billing/billing.module.ts +0 -62
  109. package/src/lib/billing/components/buyaccess/buyaccess-button.component.html +0 -15
  110. package/src/lib/billing/components/buyaccess/buyaccess-button.component.ts +0 -70
  111. package/src/lib/billing/components/subscriptions/subscribe-plan-button.component.html +0 -21
  112. package/src/lib/billing/components/subscriptions/subscribe-plan-button.component.ts +0 -60
  113. package/src/lib/billing/components/subscriptions/upgrade-plan-button.component.html +0 -3
  114. package/src/lib/billing/components/subscriptions/upgrade-plan-button.component.ts +0 -47
  115. package/src/lib/billing/services/base-billing-api.service.ts +0 -56
  116. package/src/lib/core/consts.ts +0 -7
  117. package/src/lib/core/core.module.ts +0 -45
  118. package/src/lib/core/services/appcontext.service.ts +0 -81
  119. package/src/lib/core/services/base-api.service.ts +0 -87
  120. package/src/lib/core/services/base-go.service.ts +0 -33
  121. package/src/lib/core/services/base-gridedit.service.ts +0 -124
  122. package/src/lib/identity/components/signin-button.component.html +0 -1
  123. package/src/lib/identity/components/signin-button.component.ts +0 -27
  124. package/src/lib/identity/components/signout-button.component.html +0 -1
  125. package/src/lib/identity/components/signout-button.component.ts +0 -27
  126. package/src/lib/identity/components/signup-button.component.html +0 -1
  127. package/src/lib/identity/components/signup-button.component.ts +0 -28
  128. package/src/lib/identity/identity.module.ts +0 -41
  129. package/src/lib/ui/components/base-edit.component.ts +0 -77
  130. package/src/lib/ui/components/base.component.ts +0 -45
  131. package/src/lib/ui/components/content-header/content-header.component.html +0 -4
  132. package/src/lib/ui/components/content-header/content-header.component.ts +0 -32
  133. package/src/lib/ui/components/html-editor/base-html-editor.component.ts +0 -97
  134. package/src/lib/ui/components/html-editor/forms-html-editor.component.html +0 -14
  135. package/src/lib/ui/components/html-editor/forms-html-editor.component.ts +0 -35
  136. package/src/lib/ui/components/html-editor/html-editor.component.html +0 -6
  137. package/src/lib/ui/components/html-editor/html-editor.component.ts +0 -51
  138. package/src/lib/ui/components/html-editor/html-editor.defaultoptions.ts +0 -38
  139. package/src/lib/ui/components/validation/form-validation-summary.component.html +0 -4
  140. package/src/lib/ui/components/validation/form-validation-summary.component.ts +0 -36
  141. package/src/lib/ui/components/validation/item-validation-summary.component.html +0 -5
  142. package/src/lib/ui/components/validation/item-validation-summary.component.ts +0 -32
  143. package/src/lib/ui/components/validation/validation-summary.component.ts +0 -74
  144. package/src/lib/ui/index.js +0 -13
  145. package/src/lib/ui/index.js.map +0 -1
  146. package/src/lib/ui/ui.module.ts +0 -83
  147. package/tsconfig.lib.json +0 -32
  148. package/tsconfig.lib.prod.json +0 -6
  149. package/tslint.json +0 -17
  150. package/typings/osovitny-ui/index.d.ts +0 -24
@@ -1,83 +0,0 @@
1
- /*
2
- <file>
3
- Authors:
4
- Vadim Osovitny
5
-
6
- Created:
7
- 3 Jun 2018
8
-
9
- Version:
10
- 1.0
11
-
12
- Copyright (c) 2016-2019 Osovitny Inc. All rights reserved.
13
- </file>
14
- */
15
-
16
- //Node
17
- import { NgModule, CUSTOM_ELEMENTS_SCHEMA, NO_ERRORS_SCHEMA } from '@angular/core';
18
- import { CommonModule } from '@angular/common';
19
- import { HttpClientModule, HttpClientXsrfModule, HttpClientJsonpModule, HttpClient } from '@angular/common/http';
20
- import { ReactiveFormsModule, FormsModule } from '@angular/forms';
21
-
22
- //kendo/froala
23
- import { FroalaEditorModule, FroalaViewModule } from 'angular-froala-wysiwyg';
24
- import { GridModule } from '@progress/kendo-angular-grid';
25
- import { PopupModule } from '@progress/kendo-angular-popup';
26
- import { ButtonsModule } from '@progress/kendo-angular-buttons';
27
- import { DropDownsModule } from '@progress/kendo-angular-dropdowns';
28
-
29
- //Components
30
- import { FormValidationSummaryComponent } from './components/validation/form-validation-summary.component';
31
- import { ItemValidationSummaryComponent } from './components/validation/item-validation-summary.component';
32
- import { ContentHeaderComponent } from './components/content-header/content-header.component';
33
- import { BaseHtmlEditorComponent } from './components/html-editor/base-html-editor.component';
34
- import { HtmlEditorComponent } from './components/html-editor/html-editor.component';
35
- import { FormsHtmlEditorComponent } from './components/html-editor/forms-html-editor.component';
36
-
37
- @NgModule({
38
- imports: [
39
- CommonModule,
40
- ReactiveFormsModule,
41
- FormsModule,
42
- HttpClientModule,
43
- HttpClientXsrfModule,
44
- HttpClientJsonpModule,
45
-
46
- FroalaEditorModule.forRoot(),
47
- FroalaViewModule.forRoot(),
48
- GridModule,
49
- PopupModule,
50
- ButtonsModule,
51
- DropDownsModule
52
- ],
53
- exports: [
54
- CommonModule,
55
- HttpClientModule,
56
- HttpClientXsrfModule,
57
- HttpClientJsonpModule,
58
-
59
- ItemValidationSummaryComponent,
60
- FormValidationSummaryComponent,
61
- ContentHeaderComponent,
62
-
63
- HtmlEditorComponent,
64
- FormsHtmlEditorComponent
65
- ],
66
- declarations: [
67
- ItemValidationSummaryComponent,
68
- FormValidationSummaryComponent,
69
- ContentHeaderComponent,
70
-
71
- HtmlEditorComponent,
72
- FormsHtmlEditorComponent
73
- ],
74
- providers: [
75
- ],
76
- schemas: [
77
- CUSTOM_ELEMENTS_SCHEMA,
78
- NO_ERRORS_SCHEMA
79
- ]
80
- })
81
-
82
- export class AnatolyUIModule {
83
- }
package/tsconfig.lib.json DELETED
@@ -1,32 +0,0 @@
1
- {
2
- "extends": "../../tsconfig.json",
3
- "compilerOptions": {
4
- "baseUrl": "./",
5
- "outDir": "./.ts",
6
- "target": "es2015",
7
- "declaration": true,
8
- "inlineSources": true,
9
- "paths": {
10
- },
11
- "typeRoots": [
12
- "./typings"
13
- ],
14
- "types": [
15
- "jquery",
16
- "osovitny-ui"
17
- ],
18
- "lib": [
19
- "dom",
20
- "es2018"
21
- ]
22
- },
23
- "angularCompilerOptions": {
24
- "skipTemplateCodegen": true,
25
- "strictMetadataEmit": true,
26
- "fullTemplateTypeCheck": true,
27
- "strictInjectionParameters": true,
28
- "enableResourceInlining": true
29
- },
30
- "exclude": [
31
- ]
32
- }
@@ -1,6 +0,0 @@
1
- {
2
- "extends": "./tsconfig.lib.json",
3
- "angularCompilerOptions": {
4
- "enableIvy": false
5
- }
6
- }
package/tslint.json DELETED
@@ -1,17 +0,0 @@
1
- {
2
- "extends": "../../tslint.json",
3
- "rules": {
4
- "directive-selector": [
5
- true,
6
- "attribute",
7
- "anatoly",
8
- "camelCase"
9
- ],
10
- "component-selector": [
11
- true,
12
- "element",
13
- "anatoly",
14
- "kebab-case"
15
- ]
16
- }
17
- }
@@ -1,24 +0,0 @@
1
- declare namespace osovitny.ui {
2
- function alert(text: String): void;
3
- function alertInfo(text: String): void;
4
- function alertWarning(text: String): void;
5
- function alertError(text: String): void;
6
- function notImplemented(): void;
7
- function errorOccurred(): void;
8
- function areYouSure(text: String, title: String, confirmButtonText: String, cancelButtonText: String, success: Function, cancel?: Function): void;
9
- function alertSuccess(text: String, title?: String, successAction?: Function): void;
10
- function alertCancel(text: String): void;
11
- }
12
-
13
- declare namespace osovitny.utils.to {
14
- function int(value: any): Number;
15
- function bool(value: any): Boolean;
16
- }
17
-
18
- declare namespace osovitny.utils.is {
19
- function emptyString(value: String): Boolean;
20
- }
21
-
22
- declare namespace osovitny.utils {
23
- function getValueByNameInQS(name: String): String;
24
- }