Browse Source

Merge branch 'master' of ssh://cloud.finedevelop.com:7999/~dailer/fineui

es6
zsmj1994 4 years ago
parent
commit
cff3bba6ad
  1. 2
      dist/2.0/fineui.css
  2. 2
      dist/2.0/fineui.ie.min.js
  3. 2
      dist/2.0/fineui.ie.min.js.map
  4. 2
      dist/2.0/fineui.js
  5. 2
      dist/2.0/fineui.js.map
  6. 2
      dist/2.0/fineui.min.css
  7. 2
      dist/2.0/fineui.min.js
  8. 2
      dist/2.0/fineui.min.js.map
  9. 2
      dist/2.0/fineui_without_normalize.css
  10. 2
      dist/2.0/fineui_without_normalize.min.css
  11. 2
      dist/core.css
  12. 2
      dist/core.js
  13. 2
      dist/core.js.map
  14. 2
      dist/demo.css
  15. 2
      dist/demo.js
  16. 2
      dist/demo.js.map
  17. 2
      dist/fineui.css
  18. 2
      dist/fineui.ie.min.js
  19. 2
      dist/fineui.ie.min.js.map
  20. 2
      dist/fineui.js
  21. 2
      dist/fineui.js.map
  22. 2
      dist/fineui.min.css
  23. 2
      dist/fineui.min.js
  24. 2
      dist/fineui.min.js.map
  25. 2
      dist/fineui.proxy.css
  26. 2
      dist/fineui.proxy.js
  27. 2
      dist/fineui.proxy.js.map
  28. 2
      dist/fineui.proxy.min.css
  29. 2
      dist/fineui.proxy.min.js
  30. 2
      dist/fineui.proxy.min.js.map
  31. 2
      dist/fineui_without_jquery_polyfill.js
  32. 2
      dist/fineui_without_jquery_polyfill.js.map
  33. 2
      dist/font.css
  34. 8
      dist/lib/base/single/label/abstract.label.d.ts
  35. 5
      dist/lib/base/single/label/label.d.ts
  36. 12
      dist/lib/base/single/single.d.ts
  37. 4
      dist/lib/core/ob.d.ts
  38. 31
      dist/lib/shims-tsx.d.ts
  39. 2
      dist/resource.css
  40. 2
      dist/utils.js
  41. 2
      dist/utils.min.js
  42. 2
      package.json
  43. 11
      typescript/base/single/label/abstract.label.ts
  44. 6
      typescript/base/single/label/label.ts
  45. 14
      typescript/base/single/single.ts
  46. 6
      typescript/core/ob.ts
  47. 37
      typescript/shims-tsx.ts

2
dist/2.0/fineui.css vendored

File diff suppressed because one or more lines are too long

2
dist/2.0/fineui.ie.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/2.0/fineui.ie.min.js.map vendored

File diff suppressed because one or more lines are too long

2
dist/2.0/fineui.js vendored

@ -1,4 +1,4 @@
/*! time: 2021-5-17 5:00:30 PM */
/*! time: 2021-5-18 10:10:23 AM */
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};

2
dist/2.0/fineui.js.map vendored

File diff suppressed because one or more lines are too long

2
dist/2.0/fineui.min.css vendored

File diff suppressed because one or more lines are too long

2
dist/2.0/fineui.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/2.0/fineui.min.js.map vendored

File diff suppressed because one or more lines are too long

2
dist/2.0/fineui_without_normalize.css vendored

File diff suppressed because one or more lines are too long

2
dist/2.0/fineui_without_normalize.min.css vendored

File diff suppressed because one or more lines are too long

2
dist/core.css vendored

File diff suppressed because one or more lines are too long

2
dist/core.js vendored

@ -1,4 +1,4 @@
/*! time: 2021-5-17 5:00:30 PM */
/*! time: 2021-5-18 10:10:23 AM */
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};

2
dist/core.js.map vendored

File diff suppressed because one or more lines are too long

2
dist/demo.css vendored

File diff suppressed because one or more lines are too long

2
dist/demo.js vendored

@ -1,4 +1,4 @@
/*! time: 2021-5-17 5:00:30 PM */
/*! time: 2021-5-18 10:10:23 AM */
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};

2
dist/demo.js.map vendored

File diff suppressed because one or more lines are too long

2
dist/fineui.css vendored

File diff suppressed because one or more lines are too long

2
dist/fineui.ie.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/fineui.ie.min.js.map vendored

File diff suppressed because one or more lines are too long

2
dist/fineui.js vendored

@ -1,4 +1,4 @@
/*! time: 2021-5-17 5:00:30 PM */
/*! time: 2021-5-18 10:10:23 AM */
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};

2
dist/fineui.js.map vendored

File diff suppressed because one or more lines are too long

2
dist/fineui.min.css vendored

File diff suppressed because one or more lines are too long

2
dist/fineui.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/fineui.min.js.map vendored

File diff suppressed because one or more lines are too long

2
dist/fineui.proxy.css vendored

File diff suppressed because one or more lines are too long

2
dist/fineui.proxy.js vendored

@ -1,4 +1,4 @@
/*! time: 2021-5-17 5:00:30 PM */
/*! time: 2021-5-18 10:10:23 AM */
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};

2
dist/fineui.proxy.js.map vendored

File diff suppressed because one or more lines are too long

2
dist/fineui.proxy.min.css vendored

File diff suppressed because one or more lines are too long

2
dist/fineui.proxy.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/fineui.proxy.min.js.map vendored

File diff suppressed because one or more lines are too long

2
dist/fineui_without_jquery_polyfill.js vendored

@ -1,4 +1,4 @@
/*! time: 2021-5-17 5:00:30 PM */
/*! time: 2021-5-18 10:10:23 AM */
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};

2
dist/fineui_without_jquery_polyfill.js.map vendored

File diff suppressed because one or more lines are too long

2
dist/font.css vendored

File diff suppressed because one or more lines are too long

8
dist/lib/base/single/label/abstract.label.d.ts vendored

@ -1,6 +1,14 @@
import { Single } from "../single";
export declare class AbstractLabel extends Single {
static xtype: string;
props: {
textAlign: "left" | "center" | "right";
whiteSpace: "nowrap" | "normal";
textWidth: number | null;
textHeight: number | null;
highLight: boolean;
handler: Function | null;
} & Single['props'];
doRedMark(...args: any[]): void;
unRedMark(...args: any[]): void;
doHighLight(...args: any[]): void;

5
dist/lib/base/single/label/label.d.ts vendored

@ -1,4 +1,9 @@
import { AbstractLabel } from "./abstract.label";
export declare class Label extends AbstractLabel {
props: {
py: string;
keyword: string;
text: string;
} & AbstractLabel['props'];
static xtype: string;
}

12
dist/lib/base/single/single.d.ts vendored

@ -4,6 +4,18 @@ interface SingleOpt {
belowMouse?: boolean;
}
export declare class Single extends Widget {
props: {
readonly: boolean;
title: string | (() => string) | null;
warningTitle: string | (() => string) | null;
tipType: "success" | "warning";
value: string | null;
/**
* title是否跟随鼠标
* @default false
*/
belowMouse: boolean;
};
_showToolTip(e: Event, opt?: SingleOpt): void;
_hideTooltip(): void;
_clearTimeOut(): void;

4
dist/lib/core/ob.d.ts vendored

@ -33,6 +33,10 @@ interface Props {
[key: string]: any;
}
export declare class OB {
/**
* jsx props声明
*/
__props: Partial<this['props']>;
props: Props | (<T>(config: T) => Props & T);
options: this["props"];
events?: {

31
dist/lib/shims-tsx.d.ts vendored

@ -0,0 +1,31 @@
declare const React: any;
interface UIProps {
width: number;
height: number;
top: number;
left: number;
bottom: number;
right: number;
rgap: number;
lgap: number;
tgap: number;
bgap: number;
}
interface ElementClassProps<T> extends UIProps {
baseCls: string;
cls: string;
ref: (ref: T) => void;
}
declare namespace JSX {
interface IntrinsicElements {
[elemName: string]: Partial<UIProps>;
}
type ElementAttributesProperty = {
/**
* specify the property name to use
*/
__props: any;
};
interface IntrinsicClassAttributes<T> extends Partial<ElementClassProps<T>> {
}
}

2
dist/resource.css vendored

File diff suppressed because one or more lines are too long

2
dist/utils.js vendored

@ -1,4 +1,4 @@
/*! time: 2021-5-17 5:00:30 PM */
/*! time: 2021-5-18 10:10:23 AM */
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};

2
dist/utils.min.js vendored

File diff suppressed because one or more lines are too long

2
package.json

@ -1,6 +1,6 @@
{
"name": "fineui",
"version": "2.0.20210517170255",
"version": "2.0.20210518101126",
"description": "fineui",
"main": "dist/fineui.min.js",
"types": "dist/lib/index.d.ts",

11
typescript/base/single/label/abstract.label.ts

@ -2,7 +2,16 @@ import { Single } from "../single";
export declare class AbstractLabel extends Single {
static xtype: string;
props: {
textAlign: "left" | "center" | "right",
whiteSpace: "nowrap" | "normal",
textWidth: number | null,
textHeight: number | null,
highLight: boolean,
handler: Function | null,
} & Single['props']
doRedMark(...args: any[]): void;
unRedMark(...args: any[]): void;

6
typescript/base/single/label/label.ts

@ -1,5 +1,11 @@
import { AbstractLabel } from "./abstract.label";
export declare class Label extends AbstractLabel {
props: {
py: string;
keyword: string;
text: string;
} & AbstractLabel['props'];
static xtype: string;
}

14
typescript/base/single/single.ts

@ -5,6 +5,20 @@ interface SingleOpt {
}
export declare class Single extends Widget {
props: {
readonly: boolean,
title: string | (() => string) | null,
warningTitle: string | (() => string) | null,
tipType: "success" | "warning",
value: string | null,
/**
* title是否跟随鼠标
* @default false
*/
belowMouse: boolean,
}
_showToolTip(e: Event, opt?: SingleOpt): void;
_hideTooltip(): void;

6
typescript/core/ob.ts

@ -47,6 +47,12 @@ interface Props {
}
export declare class OB {
/**
* jsx props声明
*/
__props: Partial<this['props']>;
props: Props | (<T>(config: T) => Props & T);
options: this["props"];

37
typescript/shims-tsx.ts

@ -0,0 +1,37 @@
declare const React: any;
interface UIProps {
width: number;
height: number;
top: number;
left: number;
bottom: number;
right: number;
rgap: number;
lgap: number;
tgap: number;
bgap: number;
}
interface ElementClassProps<T> extends UIProps {
baseCls: string;
cls: string;
ref: (ref: T) => void;
}
declare namespace JSX {
// for undefined
interface IntrinsicElements {
[elemName: string]: Partial<UIProps>;
}
type ElementAttributesProperty = {
/**
* specify the property name to use
*/
__props: any;
};
interface IntrinsicClassAttributes<T> extends Partial<ElementClassProps<T>> {}
}
Loading…
Cancel
Save