@nativescript-community/ui-material-activityindicator 7.2.78 → 7.2.79

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.
@@ -19,11 +19,11 @@ class NativeScriptMaterialActivityIndicatorModule {
19
19
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(NativeScriptMaterialActivityIndicatorModule, [{
20
20
  type: NgModule,
21
21
  args: [{
22
- declarations: [MaterialActivityIndicatorDirective],
22
+ imports: [MaterialActivityIndicatorDirective],
23
23
  exports: [MaterialActivityIndicatorDirective]
24
24
  }]
25
25
  }], null, null); })();
26
- (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(NativeScriptMaterialActivityIndicatorModule, { declarations: [MaterialActivityIndicatorDirective], exports: [MaterialActivityIndicatorDirective] }); })();
26
+ (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(NativeScriptMaterialActivityIndicatorModule, { imports: [MaterialActivityIndicatorDirective], exports: [MaterialActivityIndicatorDirective] }); })();
27
27
  registerElement('MDActivityIndicator', () => ActivityIndicator);
28
28
 
29
29
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"nativescript-community-ui-material-activityindicator-angular.mjs","sources":["../../../../src/activityindicator/angular/index.ts","../../../../src/activityindicator/angular/nativescript-community-ui-material-activityindicator-angular.ts"],"sourcesContent":["import { Directive, NgModule } from '@angular/core';\nimport { registerElement } from '@nativescript/angular';\nimport { ActivityIndicator } from '@nativescript-community/ui-material-activityindicator';\n\n@Directive({ selector: 'MDActivityIndicator' })\nexport class MaterialActivityIndicatorDirective {}\n\n@NgModule({\n declarations: [MaterialActivityIndicatorDirective],\n exports: [MaterialActivityIndicatorDirective]\n})\nexport class NativeScriptMaterialActivityIndicatorModule {}\n\nregisterElement('MDActivityIndicator', () => ActivityIndicator);\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;MAKa,kCAAkC,CAAA;4HAAlC,kCAAkC,GAAA,CAAA,EAAA;6DAAlC,kCAAkC,EAAA,SAAA,EAAA,CAAA,CAAA,qBAAA,CAAA,CAAA,EAAA,CAAA;;iFAAlC,kCAAkC,EAAA,CAAA;cAD9C,SAAS;eAAC,EAAE,QAAQ,EAAE,qBAAqB,EAAE;;MAOjC,2CAA2C,CAAA;qIAA3C,2CAA2C,GAAA,CAAA,EAAA;4DAA3C,2CAA2C,EAAA,CAAA;;;iFAA3C,2CAA2C,EAAA,CAAA;cAJvD,QAAQ;AAAC,QAAA,IAAA,EAAA,CAAA;gBACN,YAAY,EAAE,CAAC,kCAAkC,CAAC;gBAClD,OAAO,EAAE,CAAC,kCAAkC;AAC/C,aAAA;;wFACY,2CAA2C,EAAA,EAAA,YAAA,EAAA,CAN3C,kCAAkC,CAAA,EAAA,OAAA,EAAA,CAAlC,kCAAkC,CAAA,EAAA,CAAA,CAAA,EAAA,GAAA;AAQ/C,eAAe,CAAC,qBAAqB,EAAE,MAAM,iBAAiB,CAAC;;ACb/D;;AAEG;;;;"}
1
+ {"version":3,"file":"nativescript-community-ui-material-activityindicator-angular.mjs","sources":["../../../../src/activityindicator/angular/index.ts","../../../../src/activityindicator/angular/nativescript-community-ui-material-activityindicator-angular.ts"],"sourcesContent":["import { Directive, NgModule } from '@angular/core';\nimport { registerElement } from '@nativescript/angular';\nimport { ActivityIndicator } from '@nativescript-community/ui-material-activityindicator';\n\n@Directive({ selector: 'MDActivityIndicator' })\nexport class MaterialActivityIndicatorDirective {}\n\n@NgModule({\n imports: [MaterialActivityIndicatorDirective],\n exports: [MaterialActivityIndicatorDirective]\n})\nexport class NativeScriptMaterialActivityIndicatorModule {}\n\nregisterElement('MDActivityIndicator', () => ActivityIndicator);\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;MAKa,kCAAkC,CAAA;4HAAlC,kCAAkC,GAAA,CAAA,CAAA,CAAA;6DAAlC,kCAAkC,EAAA,SAAA,EAAA,CAAA,CAAA,qBAAA,CAAA,CAAA,EAAA,CAAA;;iFAAlC,kCAAkC,EAAA,CAAA;cAD9C,SAAS;eAAC,EAAE,QAAQ,EAAE,qBAAqB,EAAE;;MAOjC,2CAA2C,CAAA;qIAA3C,2CAA2C,GAAA,CAAA,CAAA,CAAA;4DAA3C,2CAA2C,EAAA,CAAA;;;iFAA3C,2CAA2C,EAAA,CAAA;cAJvD,QAAQ;AAAC,QAAA,IAAA,EAAA,CAAA;gBACN,OAAO,EAAE,CAAC,kCAAkC,CAAC;gBAC7C,OAAO,EAAE,CAAC,kCAAkC;AAC/C,aAAA;;wFACY,2CAA2C,EAAA,EAAA,OAAA,EAAA,CAN3C,kCAAkC,CAAA,EAAA,OAAA,EAAA,CAAlC,kCAAkC,CAAA,EAAA,CAAA,CAAA,CAAA,CAAA,GAAA;AAQ/C,eAAe,CAAC,qBAAqB,EAAE,MAAM,iBAAiB,CAAC;;ACb/D;;AAEG;;;;"}
@@ -1,10 +1,10 @@
1
1
  import * as i0 from "@angular/core";
2
2
  export declare class MaterialActivityIndicatorDirective {
3
3
  static ɵfac: i0.ɵɵFactoryDeclaration<MaterialActivityIndicatorDirective, never>;
4
- static ɵdir: i0.ɵɵDirectiveDeclaration<MaterialActivityIndicatorDirective, "MDActivityIndicator", never, {}, {}, never, never, false, never>;
4
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MaterialActivityIndicatorDirective, "MDActivityIndicator", never, {}, {}, never, never, true, never>;
5
5
  }
6
6
  export declare class NativeScriptMaterialActivityIndicatorModule {
7
7
  static ɵfac: i0.ɵɵFactoryDeclaration<NativeScriptMaterialActivityIndicatorModule, never>;
8
- static ɵmod: i0.ɵɵNgModuleDeclaration<NativeScriptMaterialActivityIndicatorModule, [typeof MaterialActivityIndicatorDirective], never, [typeof MaterialActivityIndicatorDirective]>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NativeScriptMaterialActivityIndicatorModule, never, [typeof MaterialActivityIndicatorDirective], [typeof MaterialActivityIndicatorDirective]>;
9
9
  static ɵinj: i0.ɵɵInjectorDeclaration<NativeScriptMaterialActivityIndicatorModule>;
10
10
  }
@@ -9,8 +9,6 @@
9
9
  },
10
10
  ".": {
11
11
  "types": "./index.d.ts",
12
- "esm2022": "./esm2022/nativescript-community-ui-material-activityindicator-angular.mjs",
13
- "esm": "./esm2022/nativescript-community-ui-material-activityindicator-angular.mjs",
14
12
  "default": "./fesm2022/nativescript-community-ui-material-activityindicator-angular.mjs"
15
13
  }
16
14
  },
@@ -1,5 +1,10 @@
1
- import { ActivityIndicatorBase } from './index-common';
1
+ import { ActivityIndicatorBase, indeterminateProperty, maxValueProperty, valueProperty } from './index-common';
2
2
  export declare class ActivityIndicator extends ActivityIndicatorBase {
3
+ [valueProperty.getDefault]: () => number;
4
+ [valueProperty.setNative]: (value: number) => void;
5
+ [maxValueProperty.getDefault]: () => number;
6
+ [maxValueProperty.setNative]: (value: number) => void;
7
+ [indeterminateProperty.setNative]: (value: boolean) => void;
3
8
  nativeViewProtected: com.google.android.material.progressindicator.CircularProgressIndicator;
4
9
  createNativeView(): com.google.android.material.progressindicator.CircularProgressIndicator;
5
10
  }
package/index.ios.d.ts CHANGED
@@ -1,5 +1,12 @@
1
- import { ActivityIndicatorBase } from './index-common';
1
+ import { Color, colorProperty } from '@nativescript/core';
2
+ import { ActivityIndicatorBase, indeterminateProperty, maxValueProperty, valueProperty } from './index-common';
2
3
  export declare class ActivityIndicator extends ActivityIndicatorBase {
4
+ [colorProperty.setNative]: (value: UIColor | Color) => void;
5
+ [indeterminateProperty.setNative]: (value: boolean) => void;
6
+ [valueProperty.getDefault]: () => number;
7
+ [valueProperty.setNative]: (value: number) => void;
8
+ [maxValueProperty.getDefault]: () => number;
9
+ [maxValueProperty.setNative]: (value: number) => void;
3
10
  nativeViewProtected: MDCActivityIndicator;
4
11
  autoSize: boolean;
5
12
  createNativeView(): MDCActivityIndicator;
package/package.json CHANGED
@@ -1,21 +1,22 @@
1
1
  {
2
2
  "name": "@nativescript-community/ui-material-activityindicator",
3
- "version": "7.2.78",
3
+ "version": "7.2.79",
4
4
  "description": "Material Design Activity Indicator expresses an unspecified wait time.",
5
5
  "main": "./index",
6
6
  "sideEffects": false,
7
7
  "typings": "./index.d.ts",
8
8
  "scripts": {
9
- "tsc": "cpy ../../src/activityindicator/index.d.ts ./ && tsc -d",
9
+ "tsc": "cpy '**/*.d.ts' '../../packages/activityindicator' --parents --cwd=../../src/activityindicator && tsc --build",
10
10
  "tsc-win": "cpy ..\\..\\src\\activityindicator\\index.d.ts .\\ && tsc -d",
11
- "build": "npm run tsc",
11
+ "build": "npm run tsc && npm run readme",
12
12
  "build.watch": "npm run tsc -- -w",
13
13
  "build.win": "npm run tsc-win",
14
14
  "build.all": "npm run build && npm run build.angular",
15
15
  "build.all.win": "npm run build.win && npm run build.angular.win",
16
16
  "build.angular": "ng-packagr -p ../../src/activityindicator/angular/ng-package.json -c ../../src/activityindicator/angular/tsconfig.json && rm angular/.npmignore",
17
17
  "build.angular.win": "ng-packagr -p ..\\..\\src\\activityindicator\\angular\\package.json -c ..\\..\\src\\activityindicator\\angular\\tsconfig.json",
18
- "clean": "rimraf ./*.d.ts ./*.js ./*.js.map"
18
+ "clean": "bin/rimraf ./*.d.ts ./*.js ./*.js.map ./*.tsbuildinfo ./*.mjs ./*.mjs.map ./angular ./svelte ./vue* ./react",
19
+ "readme": "readme generate -c ../../tools/readme/blueprint.json"
19
20
  },
20
21
  "nativescript": {
21
22
  "platforms": {
@@ -47,7 +48,7 @@
47
48
  "readmeFilename": "README.md",
48
49
  "homepage": "https://nativescript-community.github.io/ui-material-components/modules/_nativescript_community_ui_material_activityindicator.html",
49
50
  "dependencies": {
50
- "@nativescript-community/ui-material-core": "^7.2.78"
51
+ "@nativescript-community/ui-material-core": "^7.2.79"
51
52
  },
52
- "gitHead": "7fcaa107b0a3039b2e28cd5813408871a85e7796"
53
+ "gitHead": "76863e134350ec63fe5ed64272e7345aa60eb042"
53
54
  }
@@ -0,0 +1 @@
1
+ {"root":["../../src/activityindicator/index-common.ts","../../src/activityindicator/index.android.ts","../../src/activityindicator/index.d.ts","../../src/activityindicator/index.ios.ts","../../src/activityindicator/vue/index.ts","../../references.d.ts","../../tools/references.d.ts","../../src/references.d.ts"],"version":"5.8.3"}
@@ -1,27 +0,0 @@
1
- import { Directive, NgModule } from '@angular/core';
2
- import { registerElement } from '@nativescript/angular';
3
- import { ActivityIndicator } from '@nativescript-community/ui-material-activityindicator';
4
- import * as i0 from "@angular/core";
5
- export class MaterialActivityIndicatorDirective {
6
- static ɵfac = function MaterialActivityIndicatorDirective_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || MaterialActivityIndicatorDirective)(); };
7
- static ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: MaterialActivityIndicatorDirective, selectors: [["MDActivityIndicator"]] });
8
- }
9
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MaterialActivityIndicatorDirective, [{
10
- type: Directive,
11
- args: [{ selector: 'MDActivityIndicator' }]
12
- }], null, null); })();
13
- export class NativeScriptMaterialActivityIndicatorModule {
14
- static ɵfac = function NativeScriptMaterialActivityIndicatorModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || NativeScriptMaterialActivityIndicatorModule)(); };
15
- static ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: NativeScriptMaterialActivityIndicatorModule });
16
- static ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({});
17
- }
18
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(NativeScriptMaterialActivityIndicatorModule, [{
19
- type: NgModule,
20
- args: [{
21
- declarations: [MaterialActivityIndicatorDirective],
22
- exports: [MaterialActivityIndicatorDirective]
23
- }]
24
- }], null, null); })();
25
- (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(NativeScriptMaterialActivityIndicatorModule, { declarations: [MaterialActivityIndicatorDirective], exports: [MaterialActivityIndicatorDirective] }); })();
26
- registerElement('MDActivityIndicator', () => ActivityIndicator);
27
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvYWN0aXZpdHlpbmRpY2F0b3IvYW5ndWxhci9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUNwRCxPQUFPLEVBQUUsZUFBZSxFQUFFLE1BQU0sdUJBQXVCLENBQUM7QUFDeEQsT0FBTyxFQUFFLGlCQUFpQixFQUFFLE1BQU0sdURBQXVELENBQUM7O0FBRzFGLE1BQU0sT0FBTyxrQ0FBa0M7NEhBQWxDLGtDQUFrQzs2REFBbEMsa0NBQWtDOztpRkFBbEMsa0NBQWtDO2NBRDlDLFNBQVM7ZUFBQyxFQUFFLFFBQVEsRUFBRSxxQkFBcUIsRUFBRTs7QUFPOUMsTUFBTSxPQUFPLDJDQUEyQztxSUFBM0MsMkNBQTJDOzREQUEzQywyQ0FBMkM7OztpRkFBM0MsMkNBQTJDO2NBSnZELFFBQVE7ZUFBQztnQkFDTixZQUFZLEVBQUUsQ0FBQyxrQ0FBa0MsQ0FBQztnQkFDbEQsT0FBTyxFQUFFLENBQUMsa0NBQWtDLENBQUM7YUFDaEQ7O3dGQUNZLDJDQUEyQyxtQkFOM0Msa0NBQWtDLGFBQWxDLGtDQUFrQztBQVEvQyxlQUFlLENBQUMscUJBQXFCLEVBQUUsR0FBRyxFQUFFLENBQUMsaUJBQWlCLENBQUMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IERpcmVjdGl2ZSwgTmdNb2R1bGUgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcbmltcG9ydCB7IHJlZ2lzdGVyRWxlbWVudCB9IGZyb20gJ0BuYXRpdmVzY3JpcHQvYW5ndWxhcic7XG5pbXBvcnQgeyBBY3Rpdml0eUluZGljYXRvciB9IGZyb20gJ0BuYXRpdmVzY3JpcHQtY29tbXVuaXR5L3VpLW1hdGVyaWFsLWFjdGl2aXR5aW5kaWNhdG9yJztcblxuQERpcmVjdGl2ZSh7IHNlbGVjdG9yOiAnTURBY3Rpdml0eUluZGljYXRvcicgfSlcbmV4cG9ydCBjbGFzcyBNYXRlcmlhbEFjdGl2aXR5SW5kaWNhdG9yRGlyZWN0aXZlIHt9XG5cbkBOZ01vZHVsZSh7XG4gICAgZGVjbGFyYXRpb25zOiBbTWF0ZXJpYWxBY3Rpdml0eUluZGljYXRvckRpcmVjdGl2ZV0sXG4gICAgZXhwb3J0czogW01hdGVyaWFsQWN0aXZpdHlJbmRpY2F0b3JEaXJlY3RpdmVdXG59KVxuZXhwb3J0IGNsYXNzIE5hdGl2ZVNjcmlwdE1hdGVyaWFsQWN0aXZpdHlJbmRpY2F0b3JNb2R1bGUge31cblxucmVnaXN0ZXJFbGVtZW50KCdNREFjdGl2aXR5SW5kaWNhdG9yJywgKCkgPT4gQWN0aXZpdHlJbmRpY2F0b3IpO1xuIl19
@@ -1,5 +0,0 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- export * from './index';
5
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmF0aXZlc2NyaXB0LWNvbW11bml0eS11aS1tYXRlcmlhbC1hY3Rpdml0eWluZGljYXRvci1hbmd1bGFyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2FjdGl2aXR5aW5kaWNhdG9yL2FuZ3VsYXIvbmF0aXZlc2NyaXB0LWNvbW11bml0eS11aS1tYXRlcmlhbC1hY3Rpdml0eWluZGljYXRvci1hbmd1bGFyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxTQUFTLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vaW5kZXgnO1xuIl19