@rsmax/ali 1.3.15-canary.19 → 2.0.0-canary.91

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.
@@ -9,4 +9,4 @@ export interface CheckboxProps {
9
9
  color?: string;
10
10
  onChange?: (e: any) => void;
11
11
  }
12
- export declare const Checkbox: import("react").ComponentType<CheckboxProps>;
12
+ export declare const Checkbox: React.ComponentType<CheckboxProps>;
@@ -9,4 +9,4 @@ export interface SwitchProps {
9
9
  controlled?: boolean;
10
10
  onChange?: (e: any) => void;
11
11
  }
12
- export declare const Switch: import("react").ComponentType<SwitchProps>;
12
+ export declare const Switch: React.ComponentType<SwitchProps>;
@@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
15
15
  }) : function(o, v) {
16
16
  o["default"] = v;
17
17
  });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
25
35
  Object.defineProperty(exports, "__esModule", { value: true });
26
36
  const ad = __importStar(require("./Ad/node"));
27
37
  const button = __importStar(require("./Button/node"));
package/cjs/index.js CHANGED
@@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
15
15
  }) : function(o, v) {
16
16
  o["default"] = v;
17
17
  });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
25
35
  Object.defineProperty(exports, "__esModule", { value: true });
26
36
  exports.type = exports.component = void 0;
27
37
  exports.component = __importStar(require("./hostComponents"));
package/cjs/node/index.js CHANGED
@@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
15
15
  }) : function(o, v) {
16
16
  o["default"] = v;
17
17
  });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
25
35
  var __importDefault = (this && this.__importDefault) || function (mod) {
26
36
  return (mod && mod.__esModule) ? mod : { "default": mod };
27
37
  };
@@ -9,4 +9,4 @@ export interface CheckboxProps {
9
9
  color?: string;
10
10
  onChange?: (e: any) => void;
11
11
  }
12
- export declare const Checkbox: import("react").ComponentType<CheckboxProps>;
12
+ export declare const Checkbox: React.ComponentType<CheckboxProps>;
@@ -9,4 +9,4 @@ export interface SwitchProps {
9
9
  controlled?: boolean;
10
10
  onChange?: (e: any) => void;
11
11
  }
12
- export declare const Switch: import("react").ComponentType<SwitchProps>;
12
+ export declare const Switch: React.ComponentType<SwitchProps>;
package/package.json CHANGED
@@ -1,12 +1,10 @@
1
1
  {
2
2
  "name": "@rsmax/ali",
3
- "version": "1.3.15-canary.19+89bcd6a",
3
+ "version": "2.0.0-canary.91+5982cbe",
4
4
  "description": "Rsmax for Ali",
5
5
  "repository": "git+https://github.com/remaxjs/remax.git",
6
6
  "license": "MIT",
7
- "main": "./cjs/index.js",
8
- "module": "./esm/index.js",
9
- "typings": "./esm/index.d.ts",
7
+ "sideEffects": false,
10
8
  "exports": {
11
9
  "./types": {
12
10
  "types": "./esm/types/index.d.ts",
@@ -24,6 +22,9 @@
24
22
  "require": "./cjs/node/index.js"
25
23
  }
26
24
  },
25
+ "main": "./cjs/index.js",
26
+ "module": "./esm/index.js",
27
+ "typings": "./esm/index.d.ts",
27
28
  "scripts": {
28
29
  "prebuild": "npm run clean",
29
30
  "build": "tsc",
@@ -32,10 +33,10 @@
32
33
  "test": "rstest run"
33
34
  },
34
35
  "dependencies": {
35
- "@rsmax/framework-shared": "1.3.15-canary.19+89bcd6a",
36
- "@rsmax/runtime": "1.3.15-canary.19+89bcd6a",
37
- "@rsmax/shared": "1.3.15-canary.19+89bcd6a",
38
- "@rsmax/types": "1.3.15-canary.19+89bcd6a"
36
+ "@rsmax/framework-shared": "2.0.0-canary.91+5982cbe",
37
+ "@rsmax/runtime": "2.0.0-canary.91+5982cbe",
38
+ "@rsmax/shared": "2.0.0-canary.91+5982cbe",
39
+ "@rsmax/types": "2.0.0-canary.91+5982cbe"
39
40
  },
40
41
  "devDependencies": {
41
42
  "@mini-types/alipay": "^3.0.14",
@@ -47,7 +48,6 @@
47
48
  "publishConfig": {
48
49
  "access": "public"
49
50
  },
50
- "sideEffects": false,
51
51
  "esnext": "./esm/index.js",
52
- "gitHead": "89bcd6a55f580707f23f434c59d0f283a44d2597"
52
+ "gitHead": "5982cbe3e1e3a3bf52fa41d0c31bfb043277f669"
53
53
  }