Guyi 4 years ago
parent
commit
52ab1f0c37
  1. 2
      dist/2.0/fineui.css
  2. 4
      dist/2.0/fineui.ie.min.js
  3. 2
      dist/2.0/fineui.ie.min.js.map
  4. 15
      dist/2.0/fineui.js
  5. 2
      dist/2.0/fineui.js.map
  6. 2
      dist/2.0/fineui.min.css
  7. 4
      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/bundle.min.css
  12. 4
      dist/bundle.min.js
  13. 2
      dist/bundle.min.js.map
  14. 2
      dist/demo.css
  15. 15
      dist/demo.js
  16. 2
      dist/demo.js.map
  17. 2
      dist/fineui.css
  18. 4
      dist/fineui.ie.min.js
  19. 2
      dist/fineui.ie.min.js.map
  20. 15
      dist/fineui.js
  21. 2
      dist/fineui.js.map
  22. 2
      dist/fineui.min.css
  23. 4
      dist/fineui.min.js
  24. 2
      dist/fineui.min.js.map
  25. 15
      dist/fineui_without_jquery_polyfill.js
  26. 2
      dist/fineui_without_jquery_polyfill.js.map
  27. 2
      dist/font.css
  28. 2
      dist/lib/core/base.d.ts
  29. 8
      dist/lib/core/plugin.d.ts
  30. 2
      dist/utils.js
  31. 2
      dist/utils.min.js
  32. 2
      package.json
  33. 4
      src/case/button/icon/icon.trigger.js
  34. 10
      src/component/treevaluechooser/abstract.treevaluechooser.js
  35. 2
      typescript/core/base.ts
  36. 12
      typescript/core/plugin.ts

2
dist/2.0/fineui.css vendored

File diff suppressed because one or more lines are too long

4
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

15
dist/2.0/fineui.js vendored

@ -1,4 +1,4 @@
/*! time: 2020-10-22 11:20:30 */
/*! time: 2020-10-28 14:50:27 */
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
@ -32248,7 +32248,7 @@ BI.TriggerIconButton = BI.inherit(BI.IconButton, {
_defaultConfig: function () {
var conf = BI.TriggerIconButton.superclass._defaultConfig.apply(this, arguments);
return BI.extend(conf, {
baseCls: (conf.baseCls || "") + " bi-trigger-icon-button",
baseCls: (conf.baseCls || "") + " bi-trigger-icon-button overflow-hidden",
extraCls: "pull-down-font"
});
}
@ -32256,6 +32256,7 @@ BI.TriggerIconButton = BI.inherit(BI.IconButton, {
BI.TriggerIconButton.EVENT_CHANGE = BI.IconButton.EVENT_CHANGE;
BI.shortcut("bi.trigger_icon_button", BI.TriggerIconButton);
/***/ }),
/* 439 */
/***/ (function(module, exports) {
@ -68884,19 +68885,15 @@ BI.AbstractTreeValueChooser = BI.inherit(BI.Widget, {
parentCheckState.half = find.halfCheck;
}
var state = getCheckState(node.value, node.parentValues, valueMap, parentCheckState);
var isParent = node.getChildrenLength() > 0;
result.push({
id: node.id,
pId: node.pId,
value: node.value,
text: node.text,
times: 1,
isParent: isParent,
// 同步树的情况下,父亲节点的状态由子控制,不再设置checked和halfCheck属性
// 叶子节点本身不存在halfCheck属性且checked属性由计算得到
checked: isParent ? undefined : state[0],
// halfCheck: state[1],
isParent: node.getChildrenLength() > 0,
checked: state[0],
halfCheck: state[1],
open: self.options.open
});
});

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

4
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/bundle.min.css vendored

File diff suppressed because one or more lines are too long

4
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/bundle.min.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

15
dist/demo.js vendored

@ -1,4 +1,4 @@
/*! time: 2020-10-22 11:20:30 */
/*! time: 2020-10-28 14:50:27 */
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
@ -32248,7 +32248,7 @@ BI.TriggerIconButton = BI.inherit(BI.IconButton, {
_defaultConfig: function () {
var conf = BI.TriggerIconButton.superclass._defaultConfig.apply(this, arguments);
return BI.extend(conf, {
baseCls: (conf.baseCls || "") + " bi-trigger-icon-button",
baseCls: (conf.baseCls || "") + " bi-trigger-icon-button overflow-hidden",
extraCls: "pull-down-font"
});
}
@ -32256,6 +32256,7 @@ BI.TriggerIconButton = BI.inherit(BI.IconButton, {
BI.TriggerIconButton.EVENT_CHANGE = BI.IconButton.EVENT_CHANGE;
BI.shortcut("bi.trigger_icon_button", BI.TriggerIconButton);
/***/ }),
/* 439 */
/***/ (function(module, exports) {
@ -68884,19 +68885,15 @@ BI.AbstractTreeValueChooser = BI.inherit(BI.Widget, {
parentCheckState.half = find.halfCheck;
}
var state = getCheckState(node.value, node.parentValues, valueMap, parentCheckState);
var isParent = node.getChildrenLength() > 0;
result.push({
id: node.id,
pId: node.pId,
value: node.value,
text: node.text,
times: 1,
isParent: isParent,
// 同步树的情况下,父亲节点的状态由子控制,不再设置checked和halfCheck属性
// 叶子节点本身不存在halfCheck属性且checked属性由计算得到
checked: isParent ? undefined : state[0],
// halfCheck: state[1],
isParent: node.getChildrenLength() > 0,
checked: state[0],
halfCheck: state[1],
open: self.options.open
});
});

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

4
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

15
dist/fineui.js vendored

@ -1,4 +1,4 @@
/*! time: 2020-10-22 11:20:30 */
/*! time: 2020-10-28 14:50:27 */
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
@ -32248,7 +32248,7 @@ BI.TriggerIconButton = BI.inherit(BI.IconButton, {
_defaultConfig: function () {
var conf = BI.TriggerIconButton.superclass._defaultConfig.apply(this, arguments);
return BI.extend(conf, {
baseCls: (conf.baseCls || "") + " bi-trigger-icon-button",
baseCls: (conf.baseCls || "") + " bi-trigger-icon-button overflow-hidden",
extraCls: "pull-down-font"
});
}
@ -32256,6 +32256,7 @@ BI.TriggerIconButton = BI.inherit(BI.IconButton, {
BI.TriggerIconButton.EVENT_CHANGE = BI.IconButton.EVENT_CHANGE;
BI.shortcut("bi.trigger_icon_button", BI.TriggerIconButton);
/***/ }),
/* 439 */
/***/ (function(module, exports) {
@ -68884,19 +68885,15 @@ BI.AbstractTreeValueChooser = BI.inherit(BI.Widget, {
parentCheckState.half = find.halfCheck;
}
var state = getCheckState(node.value, node.parentValues, valueMap, parentCheckState);
var isParent = node.getChildrenLength() > 0;
result.push({
id: node.id,
pId: node.pId,
value: node.value,
text: node.text,
times: 1,
isParent: isParent,
// 同步树的情况下,父亲节点的状态由子控制,不再设置checked和halfCheck属性
// 叶子节点本身不存在halfCheck属性且checked属性由计算得到
checked: isParent ? undefined : state[0],
// halfCheck: state[1],
isParent: node.getChildrenLength() > 0,
checked: state[0],
halfCheck: state[1],
open: self.options.open
});
});

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

4
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

15
dist/fineui_without_jquery_polyfill.js vendored

@ -1,4 +1,4 @@
/*! time: 2020-10-22 11:20:30 */
/*! time: 2020-10-28 14:50:27 */
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
@ -28280,7 +28280,7 @@ BI.TriggerIconButton = BI.inherit(BI.IconButton, {
_defaultConfig: function () {
var conf = BI.TriggerIconButton.superclass._defaultConfig.apply(this, arguments);
return BI.extend(conf, {
baseCls: (conf.baseCls || "") + " bi-trigger-icon-button",
baseCls: (conf.baseCls || "") + " bi-trigger-icon-button overflow-hidden",
extraCls: "pull-down-font"
});
}
@ -28288,6 +28288,7 @@ BI.TriggerIconButton = BI.inherit(BI.IconButton, {
BI.TriggerIconButton.EVENT_CHANGE = BI.IconButton.EVENT_CHANGE;
BI.shortcut("bi.trigger_icon_button", BI.TriggerIconButton);
/***/ }),
/* 439 */
/***/ (function(module, exports) {
@ -64916,19 +64917,15 @@ BI.AbstractTreeValueChooser = BI.inherit(BI.Widget, {
parentCheckState.half = find.halfCheck;
}
var state = getCheckState(node.value, node.parentValues, valueMap, parentCheckState);
var isParent = node.getChildrenLength() > 0;
result.push({
id: node.id,
pId: node.pId,
value: node.value,
text: node.text,
times: 1,
isParent: isParent,
// 同步树的情况下,父亲节点的状态由子控制,不再设置checked和halfCheck属性
// 叶子节点本身不存在halfCheck属性且checked属性由计算得到
checked: isParent ? undefined : state[0],
// halfCheck: state[1],
isParent: node.getChildrenLength() > 0,
checked: state[0],
halfCheck: state[1],
open: self.options.open
});
});

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

2
dist/lib/core/base.d.ts vendored

@ -135,7 +135,7 @@ export interface _base {
isNotEmptyObject: (obj: any) => obj is object;
isWindow: (obj: any) => obj is Window;
isDeepMatch: (object: any, attrs: any) => boolean;
contains: (obj: any[], target: any, fromIndex?: number) => number;
contains: (obj: any[], target: any, fromIndex?: number) => boolean;
deepContains: (obj: any[], copy: any) => number;
deepIndexOf: (obj: any[], target: any) => number;
deepRemove: (obj: any[], target: any) => boolean;

8
dist/lib/core/plugin.d.ts vendored

@ -1,9 +1,9 @@
import { _Widget } from "./widget";
declare type configWidgetFn = (options: object) => object;
declare type configObjectFn = (widget: _Widget) => void;
declare type configWidgetFn = (type: string, options: Obj) => void;
declare type configObjectFn = (type: string, 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 _configWidget = (shortcut: string, widgetFunction: configWidgetFn) => void;
export declare type _registerObject = (shortcut: string, objectFunction: configObjectFn) => void;
export declare type _Plugin = {
config: _config;
configWidget: _configWidget;

2
dist/utils.js vendored

@ -1,4 +1,4 @@
/*! time: 2020-10-22 11:20:30 */
/*! time: 2020-10-28 14:50:27 */
/******/ (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.20201022112201",
"version": "2.0.20201028145148",
"description": "fineui",
"main": "dist/fineui.min.js",
"types": "dist/lib/index.d.ts",

4
src/case/button/icon/icon.trigger.js

@ -10,10 +10,10 @@ BI.TriggerIconButton = BI.inherit(BI.IconButton, {
_defaultConfig: function () {
var conf = BI.TriggerIconButton.superclass._defaultConfig.apply(this, arguments);
return BI.extend(conf, {
baseCls: (conf.baseCls || "") + " bi-trigger-icon-button",
baseCls: (conf.baseCls || "") + " bi-trigger-icon-button overflow-hidden",
extraCls: "pull-down-font"
});
}
});
BI.TriggerIconButton.EVENT_CHANGE = BI.IconButton.EVENT_CHANGE;
BI.shortcut("bi.trigger_icon_button", BI.TriggerIconButton);
BI.shortcut("bi.trigger_icon_button", BI.TriggerIconButton);

10
src/component/treevaluechooser/abstract.treevaluechooser.js

@ -565,19 +565,15 @@ BI.AbstractTreeValueChooser = BI.inherit(BI.Widget, {
parentCheckState.half = find.halfCheck;
}
var state = getCheckState(node.value, node.parentValues, valueMap, parentCheckState);
var isParent = node.getChildrenLength() > 0;
result.push({
id: node.id,
pId: node.pId,
value: node.value,
text: node.text,
times: 1,
isParent: isParent,
// 同步树的情况下,父亲节点的状态由子控制,不再设置checked和halfCheck属性
// 叶子节点本身不存在halfCheck属性且checked属性由计算得到
checked: isParent ? undefined : state[0],
// halfCheck: state[1],
isParent: node.getChildrenLength() > 0,
checked: state[0],
halfCheck: state[1],
open: self.options.open
});
});

2
typescript/core/base.ts

@ -263,7 +263,7 @@ export interface _base {
isDeepMatch: (object: any, attrs: any) => boolean;
contains: (obj: any[], target: any, fromIndex?: number) => number;
contains: (obj: any[], target: any, fromIndex?: number) => boolean;
deepContains: (obj: any[], copy: any) => number;

12
typescript/core/plugin.ts

@ -1,13 +1,13 @@
import {_Widget} from "./widget";
import { _Widget } from "./widget";
type configWidgetFn = (options: object) => object
type configObjectFn = (widget: _Widget) => void
type configWidgetFn = (type: string, options: Obj) => void
type configObjectFn = (type: string, widget: _Widget) => void
export type _config = (widgetFunction: configWidgetFn | configWidgetFn[], objectFunction: configObjectFn | configObjectFn[]) => void
export type _config = (widgetFunction: configWidgetFn | configWidgetFn[], objectFunction: configObjectFn | configObjectFn[]) => void
export type _configWidget = (shorcut: string, widgetFunction: configWidgetFn) => void
export type _configWidget = (shortcut: string, widgetFunction: configWidgetFn) => void
export type _registerObject = (shorcut: string, objectFunction: configObjectFn) => void
export type _registerObject = (shortcut: string, objectFunction: configObjectFn) => void
export type _Plugin = {
config: _config;

Loading…
Cancel
Save