Browse Source
Merge in VISUAL/fineui from ~TELLER/fineui:bugfix to master * commit '44d31ab160193a68366105b3b0bee83aa2d475d3': chore: 增加脚本 auto upgrade version to 2.0.20200907174012 auto upgrade version to 2.0.20200907173112es6
Teller
4 years ago
44 changed files with 12495 additions and 8610 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1,7 +1,7 @@
|
||||
import { _BasicButton } from "./button.basic"; |
||||
export interface _NodeButton extends _BasicButton { |
||||
isOpened: () => void; |
||||
setOpened: (b: boolean) => void; |
||||
triggerCollapse: () => void; |
||||
triggerExpand: () => void; |
||||
isOpened(): void; |
||||
setOpened(b: boolean): void; |
||||
triggerCollapse(): void; |
||||
triggerExpand(): void; |
||||
} |
||||
|
@ -0,0 +1,40 @@
|
||||
declare type _module = (xtype: string, cls: any) => void; |
||||
declare type _constant = (xtype: string, cls: any) => void; |
||||
declare type _model = (xtype: string, cls: any) => void; |
||||
declare type _store = (xtype: string, cls: any) => void; |
||||
declare type _service = (xtype: string, cls: any) => void; |
||||
declare type _provider = (xtype: string, cls: any) => void; |
||||
interface _modules { |
||||
getModule: (type: string) => any; |
||||
getAllModules: () => any; |
||||
} |
||||
interface _constants { |
||||
getConstant: (type: string) => any; |
||||
} |
||||
interface _models { |
||||
getModel: (type: string, options?: any) => any; |
||||
} |
||||
interface _stores { |
||||
getStore: (type: string, options?: any) => any; |
||||
} |
||||
interface _providers { |
||||
getProvider: (type: string, options?: any) => any; |
||||
} |
||||
interface _services { |
||||
getService: (type: string, options?: any) => any; |
||||
} |
||||
export declare type _inject = { |
||||
module: _module; |
||||
constant: _constant; |
||||
model: _model; |
||||
store: _store; |
||||
provider: _provider; |
||||
service: _service; |
||||
Modules: _modules; |
||||
Constants: _constants; |
||||
Models: _models; |
||||
Stores: _stores; |
||||
Providers: _providers; |
||||
Services: _services; |
||||
}; |
||||
export {}; |
@ -0,0 +1,12 @@
|
||||
import { _Widget } from "./widget"; |
||||
declare type configWidgetFn = (options: object) => object; |
||||
declare type configObjectFn = (widget: _Widget) => void; |
||||
export declare type _config = (widgetFunction: configWidgetFn | configWidgetFn[], objectFunction: configObjectFn | configObjectFn[]) => void; |
||||
export declare type _configWidget = (shorcut: string, widgetFunction: configWidgetFn) => void; |
||||
export declare type _registerObject = (shorcut: string, objectFunction: configObjectFn) => void; |
||||
export declare type _Plugin = { |
||||
config: _config; |
||||
configWidget: _configWidget; |
||||
registerObject: _registerObject; |
||||
}; |
||||
export {}; |
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -0,0 +1,15 @@
|
||||
const { resolve } = require("path"); |
||||
const { execSync } = require("child_process"); |
||||
const { writeFileSync } = require("fs"); |
||||
|
||||
const packageJSON = require("../../package.json"); |
||||
|
||||
packageJSON.name = "fineui"; |
||||
|
||||
packageJSON.publishConfig.registry = 'https://registry.npmjs.org'; |
||||
|
||||
writeFileSync(resolve(__dirname, "../../package.json"), JSON.stringify(packageJSON, null, 2)); |
||||
|
||||
execSync('git add dist/'); |
||||
execSync('git add package.json'); |
||||
execSync(`git diff-index --quiet HEAD || git commit -am "auto upgrade version to ${packageJSON.version}"`); |
Loading…
Reference in new issue