@mescius/wijmo.vue2.input 5.20232.939
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.
- package/COMMERCIAL-LICENSE.html +485 -0
- package/README.md +363 -0
- package/es2015-commonjs.js +14 -0
- package/es2015-esm.js +14 -0
- package/es5-esm.js +14 -0
- package/index.d.ts +253 -0
- package/index.js +14 -0
- package/package.json +46 -0
package/es5-esm.js
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
*
|
|
3
|
+
* Wijmo Library 5.20232.939
|
|
4
|
+
* https://developer.mescius.com/wijmo
|
|
5
|
+
*
|
|
6
|
+
* Copyright(c) MESCIUS inc. All rights reserved.
|
|
7
|
+
*
|
|
8
|
+
* Licensed under the End-User License Agreement For MESCIUS Wijmo Software.
|
|
9
|
+
* us.sales@mescius.com
|
|
10
|
+
* https://developer.mescius.com/wijmo/licensing
|
|
11
|
+
*
|
|
12
|
+
*/
|
|
13
|
+
|
|
14
|
+
var __extends=this&&this.__extends||function(){var extendStatics=function(e,t){return(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(e,t)};return function(e,t){extendStatics(e,t);function __(){this.constructor=e}e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}}();import{VueApi,WjComponentBehavior}from"@mescius/wijmo.vue2.base";import*as wjcCore from"@mescius/wijmo";import*as wjcInput from"@mescius/wijmo.input";var WjListBoxBehavior=function(e){__extends(WjListBoxBehavior,e);function WjListBoxBehavior(){return null!==e&&e.apply(this,arguments)||this}WjListBoxBehavior.tag="wj-list-box";WjListBoxBehavior.props=["isDisabled","tabOrder","isContentHtml","maxHeight","selectedValuePath","itemFormatter","displayMemberPath","checkedMemberPath","caseSensitiveSearch","itemsSource","virtualizationThreshold","showGroups","selectedIndex","selectedItem","selectedValue","checkedItems"];WjListBoxBehavior.events=["initialized","gotFocus","lostFocus","refreshing","refreshed","invalidInput","formatItem","itemsChanged","itemChecked"];WjListBoxBehavior.changeEvents={selectedIndexChanged:["selectedIndex","selectedItem","selectedValue"],checkedItemsChanged:["checkedItems"]};WjListBoxBehavior.classCtor=function(){return wjcInput.ListBox};WjListBoxBehavior.modelProp="selectedValue";return WjListBoxBehavior}(WjComponentBehavior);export var WjListBox=WjListBoxBehavior.register();function registerV3WjListBox(e){e.component(WjListBoxBehavior.tag,WjListBox)}var WjMultiSelectListBoxBehavior=function(e){__extends(WjMultiSelectListBoxBehavior,e);function WjMultiSelectListBoxBehavior(){return null!==e&&e.apply(this,arguments)||this}WjMultiSelectListBoxBehavior.tag="wj-multi-select-list-box";WjMultiSelectListBoxBehavior.props=["isDisabled","tabOrder","itemsSource","displayMemberPath","selectedIndex","isContentHtml","showGroups","checkOnFilter","showFilterInput","filterInputPlaceholder","showSelectAllCheckbox","selectAllLabel","delay","caseSensitiveSearch","checkedMemberPath","virtualizationThreshold","checkedItems"];WjMultiSelectListBoxBehavior.events=["initialized","gotFocus","lostFocus","refreshing","refreshed","invalidInput"];WjMultiSelectListBoxBehavior.changeEvents={selectedIndexChanged:["selectedIndex"],checkedItemsChanged:["checkedItems"]};WjMultiSelectListBoxBehavior.classCtor=function(){return wjcInput.MultiSelectListBox};WjMultiSelectListBoxBehavior.modelProp="checkedItems";return WjMultiSelectListBoxBehavior}(WjComponentBehavior);export var WjMultiSelectListBox=WjMultiSelectListBoxBehavior.register();function registerV3WjMultiSelectListBox(e){e.component(WjMultiSelectListBoxBehavior.tag,WjMultiSelectListBox)}var WjComboBoxBehavior=function(e){__extends(WjComboBoxBehavior,e);function WjComboBoxBehavior(){return null!==e&&e.apply(this,arguments)||this}WjComboBoxBehavior.tag="wj-combo-box";WjComboBoxBehavior.props=["isDisabled","tabOrder","isDroppedDown","showDropDownButton","autoExpandSelection","placeholder","dropDownCssClass","isAnimated","isReadOnly","isRequired","inputType","clickAction","displayMemberPath","selectedValuePath","headerPath","isContentHtml","isEditable","handleWheel","maxDropDownHeight","maxDropDownWidth","itemFormatter","showGroups","trimText","caseSensitiveSearch","virtualizationThreshold","itemsSource","text","selectedIndex","selectedItem","selectedValue"];WjComboBoxBehavior.events=["initialized","gotFocus","lostFocus","refreshing","refreshed","invalidInput","isDroppedDownChanging","itemsSourceChanged","formatItem"];WjComboBoxBehavior.changeEvents={isDroppedDownChanged:["isDroppedDown"],textChanged:["text"],selectedIndexChanged:["selectedIndex","selectedItem","selectedValue"]};WjComboBoxBehavior.classCtor=function(){return wjcInput.ComboBox};WjComboBoxBehavior.modelProp="selectedValue";return WjComboBoxBehavior}(WjComponentBehavior);export var WjComboBox=WjComboBoxBehavior.register();function registerV3WjComboBox(e){e.component(WjComboBoxBehavior.tag,WjComboBox)}var WjAutoCompleteBehavior=function(e){__extends(WjAutoCompleteBehavior,e);function WjAutoCompleteBehavior(){return null!==e&&e.apply(this,arguments)||this}WjAutoCompleteBehavior.tag="wj-auto-complete";WjAutoCompleteBehavior.props=["isDisabled","tabOrder","isDroppedDown","showDropDownButton","autoExpandSelection","placeholder","dropDownCssClass","isAnimated","isReadOnly","isRequired","inputType","clickAction","displayMemberPath","selectedValuePath","headerPath","isContentHtml","isEditable","handleWheel","maxDropDownHeight","maxDropDownWidth","itemFormatter","showGroups","trimText","caseSensitiveSearch","virtualizationThreshold","delay","maxItems","minLength","cssMatch","itemsSourceFunction","searchMemberPath","beginsWithSearch","itemsSource","text","selectedIndex","selectedItem","selectedValue"];WjAutoCompleteBehavior.events=["initialized","gotFocus","lostFocus","refreshing","refreshed","invalidInput","isDroppedDownChanging","itemsSourceChanged","formatItem"];WjAutoCompleteBehavior.changeEvents={isDroppedDownChanged:["isDroppedDown"],textChanged:["text"],selectedIndexChanged:["selectedIndex","selectedItem","selectedValue"]};WjAutoCompleteBehavior.classCtor=function(){return wjcInput.AutoComplete};WjAutoCompleteBehavior.modelProp="selectedValue";return WjAutoCompleteBehavior}(WjComponentBehavior);export var WjAutoComplete=WjAutoCompleteBehavior.register();function registerV3WjAutoComplete(e){e.component(WjAutoCompleteBehavior.tag,WjAutoComplete)}var WjCalendarBehavior=function(e){__extends(WjCalendarBehavior,e);function WjCalendarBehavior(){return null!==e&&e.apply(this,arguments)||this}WjCalendarBehavior.tag="wj-calendar";WjCalendarBehavior.props=["isDisabled","tabOrder","monthView","showHeader","itemFormatter","itemValidator","firstDayOfWeek","max","min","formatYearMonth","formatDayHeaders","formatDays","formatYear","formatMonths","selectionMode","isReadOnly","handleWheel","repeatButtons","showYearPicker","value","displayMonth","monthCount","showMonthPicker","weeksBefore","weeksAfter","rangeEnd","rangeMin","rangeMax"];WjCalendarBehavior.events=["initialized","gotFocus","lostFocus","refreshing","refreshed","invalidInput","rangeChanged","formatItem"];WjCalendarBehavior.changeEvents={valueChanged:["value"],displayMonthChanged:["displayMonth"],rangeEndChanged:["rangeEnd"]};WjCalendarBehavior.classCtor=function(){return wjcInput.Calendar};WjCalendarBehavior.modelProp="value";return WjCalendarBehavior}(WjComponentBehavior);export var WjCalendar=WjCalendarBehavior.register();function registerV3WjCalendar(e){e.component(WjCalendarBehavior.tag,WjCalendar)}var WjColorPickerBehavior=function(e){__extends(WjColorPickerBehavior,e);function WjColorPickerBehavior(){return null!==e&&e.apply(this,arguments)||this}WjColorPickerBehavior.tag="wj-color-picker";WjColorPickerBehavior.props=["isDisabled","tabOrder","showAlphaChannel","showColorString","palette","value"];WjColorPickerBehavior.events=["initialized","gotFocus","lostFocus","refreshing","refreshed","invalidInput"];WjColorPickerBehavior.changeEvents={valueChanged:["value"]};WjColorPickerBehavior.classCtor=function(){return wjcInput.ColorPicker};WjColorPickerBehavior.modelProp="value";return WjColorPickerBehavior}(WjComponentBehavior);export var WjColorPicker=WjColorPickerBehavior.register();function registerV3WjColorPicker(e){e.component(WjColorPickerBehavior.tag,WjColorPicker)}var WjInputMaskBehavior=function(e){__extends(WjInputMaskBehavior,e);function WjInputMaskBehavior(){return null!==e&&e.apply(this,arguments)||this}WjInputMaskBehavior.tag="wj-input-mask";WjInputMaskBehavior.props=["isDisabled","tabOrder","mask","overwriteMode","isRequired","isReadOnly","promptChar","placeholder","inputType","rawValue","value"];WjInputMaskBehavior.events=["initialized","gotFocus","lostFocus","refreshing","refreshed","invalidInput"];WjInputMaskBehavior.changeEvents={valueChanged:["rawValue","value"]};WjInputMaskBehavior.classCtor=function(){return wjcInput.InputMask};WjInputMaskBehavior.modelProp="value";return WjInputMaskBehavior}(WjComponentBehavior);export var WjInputMask=WjInputMaskBehavior.register();function registerV3WjInputMask(e){e.component(WjInputMaskBehavior.tag,WjInputMask)}var WjInputColorBehavior=function(e){__extends(WjInputColorBehavior,e);function WjInputColorBehavior(){return null!==e&&e.apply(this,arguments)||this}WjInputColorBehavior.tag="wj-input-color";WjInputColorBehavior.props=["isDisabled","tabOrder","isDroppedDown","showDropDownButton","autoExpandSelection","placeholder","dropDownCssClass","isAnimated","isReadOnly","isRequired","inputType","clickAction","showAlphaChannel","showColorString","value","text"];WjInputColorBehavior.events=["initialized","gotFocus","lostFocus","refreshing","refreshed","invalidInput","isDroppedDownChanging"];WjInputColorBehavior.changeEvents={isDroppedDownChanged:["isDroppedDown"],textChanged:["text"],valueChanged:["value"]};WjInputColorBehavior.classCtor=function(){return wjcInput.InputColor};WjInputColorBehavior.modelProp="value";return WjInputColorBehavior}(WjComponentBehavior);export var WjInputColor=WjInputColorBehavior.register();function registerV3WjInputColor(e){e.component(WjInputColorBehavior.tag,WjInputColor)}var WjMultiSelectBehavior=function(e){__extends(WjMultiSelectBehavior,e);function WjMultiSelectBehavior(){return null!==e&&e.apply(this,arguments)||this}WjMultiSelectBehavior.tag="wj-multi-select";WjMultiSelectBehavior.props=["isDisabled","tabOrder","isDroppedDown","showDropDownButton","autoExpandSelection","placeholder","dropDownCssClass","isAnimated","isReadOnly","isRequired","inputType","clickAction","displayMemberPath","selectedValuePath","headerPath","isContentHtml","isEditable","handleWheel","maxDropDownHeight","maxDropDownWidth","itemFormatter","showGroups","trimText","caseSensitiveSearch","virtualizationThreshold","checkedMemberPath","maxHeaderItems","headerFormat","headerFormatter","showSelectAllCheckbox","selectAllLabel","showFilterInput","filterInputPlaceholder","checkOnFilter","delay","caseSensitiveSearch","itemsSource","checkedItems","text","selectedIndex","selectedItem","selectedValue"];WjMultiSelectBehavior.events=["initialized","gotFocus","lostFocus","refreshing","refreshed","invalidInput","isDroppedDownChanging","itemsSourceChanged","formatItem"];WjMultiSelectBehavior.changeEvents={isDroppedDownChanged:["isDroppedDown"],textChanged:["text"],selectedIndexChanged:["selectedIndex","selectedItem","selectedValue"],checkedItemsChanged:["checkedItems"]};WjMultiSelectBehavior.classCtor=function(){return wjcInput.MultiSelect};WjMultiSelectBehavior.modelProp="checkedItems";return WjMultiSelectBehavior}(WjComponentBehavior);export var WjMultiSelect=WjMultiSelectBehavior.register();function registerV3WjMultiSelect(e){e.component(WjMultiSelectBehavior.tag,WjMultiSelect)}var WjMultiAutoCompleteBehavior=function(e){__extends(WjMultiAutoCompleteBehavior,e);function WjMultiAutoCompleteBehavior(){return null!==e&&e.apply(this,arguments)||this}WjMultiAutoCompleteBehavior.tag="wj-multi-auto-complete";WjMultiAutoCompleteBehavior.props=["isDisabled","tabOrder","isDroppedDown","showDropDownButton","autoExpandSelection","placeholder","dropDownCssClass","isAnimated","isReadOnly","isRequired","inputType","clickAction","displayMemberPath","selectedValuePath","headerPath","isContentHtml","isEditable","handleWheel","maxDropDownHeight","maxDropDownWidth","itemFormatter","showGroups","trimText","caseSensitiveSearch","virtualizationThreshold","delay","maxItems","minLength","cssMatch","itemsSourceFunction","searchMemberPath","beginsWithSearch","maxSelectedItems","selectedItems","itemsSource","selectedMemberPath","text","selectedIndex","selectedItem","selectedValue"];WjMultiAutoCompleteBehavior.events=["initialized","gotFocus","lostFocus","refreshing","refreshed","invalidInput","isDroppedDownChanging","itemsSourceChanged","formatItem"];WjMultiAutoCompleteBehavior.changeEvents={isDroppedDownChanged:["isDroppedDown"],textChanged:["text"],selectedIndexChanged:["selectedIndex","selectedItem","selectedValue"],selectedItemsChanged:["selectedItems"]};WjMultiAutoCompleteBehavior.classCtor=function(){return wjcInput.MultiAutoComplete};WjMultiAutoCompleteBehavior.modelProp="selectedItems";return WjMultiAutoCompleteBehavior}(WjComponentBehavior);export var WjMultiAutoComplete=WjMultiAutoCompleteBehavior.register();function registerV3WjMultiAutoComplete(e){e.component(WjMultiAutoCompleteBehavior.tag,WjMultiAutoComplete)}var WjInputNumberBehavior=function(e){__extends(WjInputNumberBehavior,e);function WjInputNumberBehavior(){return null!==e&&e.apply(this,arguments)||this}WjInputNumberBehavior.tag="wj-input-number";WjInputNumberBehavior.props=["isDisabled","tabOrder","showSpinner","repeatButtons","max","min","step","isRequired","placeholder","inputType","format","isReadOnly","handleWheel","value","text"];WjInputNumberBehavior.events=["initialized","gotFocus","lostFocus","refreshing","refreshed","invalidInput"];WjInputNumberBehavior.changeEvents={valueChanged:["value"],textChanged:["text"]};WjInputNumberBehavior.classCtor=function(){return wjcInput.InputNumber};WjInputNumberBehavior.modelProp="value";return WjInputNumberBehavior}(WjComponentBehavior);export var WjInputNumber=WjInputNumberBehavior.register();function registerV3WjInputNumber(e){e.component(WjInputNumberBehavior.tag,WjInputNumber)}var WjInputDateBehavior=function(e){__extends(WjInputDateBehavior,e);function WjInputDateBehavior(){return null!==e&&e.apply(this,arguments)||this}WjInputDateBehavior.tag="wj-input-date";WjInputDateBehavior.props=["isDisabled","tabOrder","isDroppedDown","showDropDownButton","autoExpandSelection","placeholder","dropDownCssClass","isAnimated","isReadOnly","isRequired","inputType","clickAction","selectionMode","format","mask","max","min","inputType","repeatButtons","showYearPicker","itemValidator","itemFormatter","monthCount","handleWheel","showMonthPicker","showHeader","weeksBefore","weeksAfter","rangeMin","rangeMax","separator","alwaysShowCalendar","predefinedRanges","closeOnSelection","text","value","rangeEnd"];WjInputDateBehavior.events=["initialized","gotFocus","lostFocus","refreshing","refreshed","invalidInput","isDroppedDownChanging","rangeChanged"];WjInputDateBehavior.changeEvents={isDroppedDownChanged:["isDroppedDown"],textChanged:["text"],valueChanged:["value"],rangeEndChanged:["rangeEnd"]};WjInputDateBehavior.classCtor=function(){return wjcInput.InputDate};WjInputDateBehavior.modelProp="value";return WjInputDateBehavior}(WjComponentBehavior);export var WjInputDate=WjInputDateBehavior.register();function registerV3WjInputDate(e){e.component(WjInputDateBehavior.tag,WjInputDate)}var WjInputTimeBehavior=function(e){__extends(WjInputTimeBehavior,e);function WjInputTimeBehavior(){return null!==e&&e.apply(this,arguments)||this}WjInputTimeBehavior.tag="wj-input-time";WjInputTimeBehavior.props=["isDisabled","tabOrder","isDroppedDown","showDropDownButton","autoExpandSelection","placeholder","dropDownCssClass","isAnimated","isReadOnly","isRequired","inputType","clickAction","displayMemberPath","selectedValuePath","headerPath","isContentHtml","isEditable","handleWheel","maxDropDownHeight","maxDropDownWidth","itemFormatter","showGroups","trimText","caseSensitiveSearch","virtualizationThreshold","max","min","step","format","mask","inputType","itemsSource","text","selectedIndex","selectedItem","selectedValue","value"];WjInputTimeBehavior.events=["initialized","gotFocus","lostFocus","refreshing","refreshed","invalidInput","isDroppedDownChanging","itemsSourceChanged","formatItem"];WjInputTimeBehavior.changeEvents={isDroppedDownChanged:["isDroppedDown"],textChanged:["text"],selectedIndexChanged:["selectedIndex","selectedItem","selectedValue"],valueChanged:["value"]};WjInputTimeBehavior.classCtor=function(){return wjcInput.InputTime};WjInputTimeBehavior.modelProp="value";return WjInputTimeBehavior}(WjComponentBehavior);export var WjInputTime=WjInputTimeBehavior.register();function registerV3WjInputTime(e){e.component(WjInputTimeBehavior.tag,WjInputTime)}var WjInputDateTimeBehavior=function(e){__extends(WjInputDateTimeBehavior,e);function WjInputDateTimeBehavior(){return null!==e&&e.apply(this,arguments)||this}WjInputDateTimeBehavior.tag="wj-input-date-time";WjInputDateTimeBehavior.props=["isDisabled","tabOrder","isDroppedDown","showDropDownButton","autoExpandSelection","placeholder","dropDownCssClass","isAnimated","isReadOnly","isRequired","inputType","clickAction","selectionMode","format","mask","max","min","inputType","repeatButtons","showYearPicker","itemValidator","itemFormatter","monthCount","handleWheel","showMonthPicker","showHeader","weeksBefore","weeksAfter","rangeMin","rangeMax","separator","alwaysShowCalendar","predefinedRanges","closeOnSelection","timeMax","timeMin","timeStep","timeFormat","text","value","rangeEnd"];WjInputDateTimeBehavior.events=["initialized","gotFocus","lostFocus","refreshing","refreshed","invalidInput","isDroppedDownChanging","rangeChanged"];WjInputDateTimeBehavior.changeEvents={isDroppedDownChanged:["isDroppedDown"],textChanged:["text"],valueChanged:["value"],rangeEndChanged:["rangeEnd"]};WjInputDateTimeBehavior.classCtor=function(){return wjcInput.InputDateTime};WjInputDateTimeBehavior.modelProp="value";return WjInputDateTimeBehavior}(WjComponentBehavior);export var WjInputDateTime=WjInputDateTimeBehavior.register();function registerV3WjInputDateTime(e){e.component(WjInputDateTimeBehavior.tag,WjInputDateTime)}var WjInputDateRangeBehavior=function(e){__extends(WjInputDateRangeBehavior,e);function WjInputDateRangeBehavior(){return null!==e&&e.apply(this,arguments)||this}WjInputDateRangeBehavior.tag="wj-input-date-range";WjInputDateRangeBehavior.props=["isDisabled","tabOrder","isDroppedDown","showDropDownButton","autoExpandSelection","placeholder","dropDownCssClass","isAnimated","isReadOnly","isRequired","inputType","clickAction","selectionMode","format","mask","max","min","inputType","repeatButtons","showYearPicker","itemValidator","itemFormatter","monthCount","handleWheel","showMonthPicker","showHeader","weeksBefore","weeksAfter","rangeMin","rangeMax","separator","alwaysShowCalendar","predefinedRanges","closeOnSelection","text","value","rangeEnd"];WjInputDateRangeBehavior.events=["initialized","gotFocus","lostFocus","refreshing","refreshed","invalidInput","isDroppedDownChanging","rangeChanged"];WjInputDateRangeBehavior.changeEvents={isDroppedDownChanged:["isDroppedDown"],textChanged:["text"],valueChanged:["value"],rangeEndChanged:["rangeEnd"]};WjInputDateRangeBehavior.classCtor=function(){return wjcInput.InputDateRange};WjInputDateRangeBehavior.modelProp="value";return WjInputDateRangeBehavior}(WjComponentBehavior);export var WjInputDateRange=WjInputDateRangeBehavior.register();function registerV3WjInputDateRange(e){e.component(WjInputDateRangeBehavior.tag,WjInputDateRange)}var WjMenuBehavior=function(e){__extends(WjMenuBehavior,e);function WjMenuBehavior(){return null!==e&&e.apply(this,arguments)||this}Object.defineProperty(WjMenuBehavior.prototype,"value",{get:function(){return this._value},set:function(e){this._value=e;if(null!=e){this.control.selectedValue=e;this._updateHeader()}},enumerable:!0,configurable:!0});WjMenuBehavior.prototype._createControl=function(){var t=this,o=e.prototype._createControl.call(this);o.itemsSource=new wjcCore.ObservableArray;o.selectedIndex=0;o.listBox.formatItem.addHandler(this._fmtItem,this);o.invalidate();o.itemClicked.addHandler((function(e){t.value=t.control.selectedValue}));return o};WjMenuBehavior.prototype._updateControl=function(t,o){e.prototype._updateControl.call(this,t,o);if("header"===t){this._definedHeader=o;this._updateHeader()}"value"===t&&(this.value=o)};WjMenuBehavior.prototype._updateHeader=function(){this.control.header=this._definedHeader||"";var e=this.control.selectedItem;if(null!=this.value&&e&&this.control.displayMemberPath){var t=null;if(e instanceof WjMenuItemBehavior){var o=e.contentRoot;t=o?o.innerHTML:e[this.control.displayMemberPath]}null!=t&&(this.control.header+=": <b>"+t+"</b>")}};WjMenuBehavior.prototype._fmtItem=function(e,t){if(t.data instanceof WjMenuItemBehavior||t.data instanceof WjMenuSeparatorBehavior){t.item.textContent="";t.item.appendChild(t.data.contentRoot);t.data.added(t.item)}};WjMenuBehavior.tag="wj-menu";WjMenuBehavior.props=["isDisabled","tabOrder","isDroppedDown","showDropDownButton","autoExpandSelection","placeholder","dropDownCssClass","isAnimated","isReadOnly","isRequired","inputType","clickAction","displayMemberPath","selectedValuePath","headerPath","isContentHtml","isEditable","handleWheel","maxDropDownHeight","maxDropDownWidth","itemFormatter","showGroups","trimText","caseSensitiveSearch","virtualizationThreshold","header","commandParameterPath","commandPath","subItemsPath","openOnHover","closeOnLeave","isButton","itemsSource","text","selectedIndex","selectedItem","selectedValue","value"];WjMenuBehavior.events=["initialized","gotFocus","lostFocus","refreshing","refreshed","invalidInput","isDroppedDownChanging","itemsSourceChanged","formatItem"];WjMenuBehavior.changeEvents={isDroppedDownChanged:["isDroppedDown"],textChanged:["text"],selectedIndexChanged:["selectedIndex","selectedItem","selectedValue"],itemClicked:["value"]};WjMenuBehavior.classCtor=function(){return wjcInput.Menu};WjMenuBehavior.modelProp="selectedValue";return WjMenuBehavior}(WjComponentBehavior);export var WjMenu=WjMenuBehavior.register();function registerV3WjMenu(e){e.component(WjMenuBehavior.tag,WjMenu)}var WjMenuItemBehavior=function(e){__extends(WjMenuItemBehavior,e);function WjMenuItemBehavior(){return null!==e&&e.apply(this,arguments)||this}WjMenuItemBehavior.prototype._createControl=function(){var e=this.parent.control;1==e.itemsSource.length&&e.selectedIndex<0&&(e.selectedIndex=0);e.displayMemberPath||(e.displayMemberPath="header");e.selectedValuePath||(e.selectedValuePath="value");e.commandPath||(e.commandPath="cmd");e.commandParameterPath||(e.commandParameterPath="cmdParam");this.contentRoot=this.component.$el.firstElementChild;this.component.$el.style.display="none";return this};WjMenuItemBehavior.prototype.added=function(e){};WjMenuItemBehavior.tag="wj-menu-item";WjMenuItemBehavior.parentProp="itemsSource";WjMenuItemBehavior.siblingId="menuItemDir";WjMenuItemBehavior.props=["wjProperty","value","cmd","cmdParam"];WjMenuItemBehavior.events=["initialized"];WjMenuItemBehavior.render=function(e){if(VueApi.isV3Plus){var t=VueApi.h,o=this.$slots.default;return t("div",{},[t("div",{},o&&o())])}return e("div",[e("div",[this.$slots.default])])};return WjMenuItemBehavior}(WjComponentBehavior);export var WjMenuItem=WjMenuItemBehavior.register();function registerV3WjMenuItem(e){e.component(WjMenuItemBehavior.tag,WjMenuItem)}var WjMenuSeparatorBehavior=function(e){__extends(WjMenuSeparatorBehavior,e);function WjMenuSeparatorBehavior(){return null!==e&&e.apply(this,arguments)||this}WjMenuSeparatorBehavior.prototype._createControl=function(){this.contentRoot=this.component.$el.firstElementChild;this.component.$el.style.display="none";return this};WjMenuSeparatorBehavior.prototype.added=function(e){wjcCore.addClass(e,"wj-state-disabled")};WjMenuSeparatorBehavior.tag="wj-menu-separator";WjMenuSeparatorBehavior.parentProp="itemsSource";WjMenuSeparatorBehavior.siblingId="menuItemDir";WjMenuSeparatorBehavior.props=["wjProperty"];WjMenuSeparatorBehavior.events=["initialized"];WjMenuSeparatorBehavior.render=function(e){var t={width:"100%",height:"1px","background-color":"lightgray"};if(VueApi.isV3Plus){var o=VueApi.h;return o("div",{},[o("div",{style:t})])}return e("div",[e("div",{style:t})])};return WjMenuSeparatorBehavior}(WjComponentBehavior);export var WjMenuSeparator=WjMenuSeparatorBehavior.register();function registerV3WjMenuSeparator(e){e.component(WjMenuSeparatorBehavior.tag,WjMenuSeparator)}var WjItemTemplateDefinition={render:function(e){return VueApi.isV3Plus?VueApi.h("div"):e("div")},mounted:function(){var e=this,t=this.$parent;if(t){var o=t[WjComponentBehavior._behProp];o._mountedCB((function(){var t=o.control;e.ownerControl=t instanceof wjcInput.ListBox?t:t.listBox instanceof wjcInput.ListBox?t.listBox:void 0;e.itemComponents=[];var n=VueApi.isV3Plus?e.$slots.default:e.$scopedSlots.default,i=e.ownerControl;if(i&&n){e.formatItemHandler=function(t,o){var r=o.index;if(!e.itemComponents[r])if(VueApi.isV3Plus){var a=VueApi.h,s={parent:e.component,render:function(){return a("div",{},n&&n({itemIndex:r,item:o.data,control:i}))}},u=a(s);e.itemComponents[r]=o.item;o.item.textContent="";VueApi.render(u,o.item)}else{s=ItemTemplateComponentFactory(n,{itemIndex:r,item:o.data,control:i},e).$mount();e.itemComponents[r]=s;o.item.textContent="";o.item.appendChild(s.$el)}};i.formatItem.addHandler(e.formatItemHandler,e);i.loadingItems.addHandler((function(t){e._destroyItemComponents()}))}}))}},methods:{_destroyItemComponents:function(){(this.itemComponents||[]).forEach((function(e){VueApi.isV3Plus?VueApi.render(null,e):e.$destroy()}));this.itemComponents=[]}}};WjItemTemplateDefinition[VueApi.isV3Plus?"unmounted":"destroyed"]=function(){this.formatItemHandler&&this.ownerControl.formatItem.removeHandler(this.formatItemHandler,this);this._destroyItemComponents()};var ItemTemplateComponentFactory=function(e,t,o){var n=new ItemTemplateComponent({parent:o});n.itemTemplate=e;n.itemData=t;return n},ItemTemplateComponent=VueApi.extend({render:function(e){return e("div",{},this.itemTemplate&&this.itemTemplate(this.itemData))}}),WjItemTemplateTag="wj-item-template";export var WjItemTemplate=VueApi.isV3Plus?WjItemTemplateDefinition:VueApi.component(WjItemTemplateTag,WjItemTemplateDefinition);function registerV3WjItemTemplate(e){e.component(WjItemTemplateTag,WjItemTemplate)}var WjPopupBehavior=function(e){__extends(WjPopupBehavior,e);function WjPopupBehavior(){return null!==e&&e.apply(this,arguments)||this}WjPopupBehavior.tag="wj-popup";WjPopupBehavior.props=["isDisabled","tabOrder","owner","showTrigger","hideTrigger","fadeIn","fadeOut","isDraggable","isResizable","dialogResultEnter","dialogResultSubmit","modal","removeOnHide"];WjPopupBehavior.events=["initialized","gotFocus","lostFocus","refreshing","refreshed","invalidInput","showing","shown","hiding","hidden","resizing","sizeChanging","sizeChanged","resized","dragging","positionChanging","positionChanged","dragged"];WjPopupBehavior.classCtor=function(){return wjcInput.Popup};return WjPopupBehavior}(WjComponentBehavior);export var WjPopup=WjPopupBehavior.register();function registerV3WjPopup(e){e.component(WjPopupBehavior.tag,WjPopup)}var _CtxMenuUtils=function(){function _CtxMenuUtils(){this.key="__wjCtxMenu"}Object.defineProperty(_CtxMenuUtils.prototype,"definition",{get:function(){return VueApi.isV3Plus?{mounted:this._bind.bind(this),updated:this._update.bind(this),unmounted:this._unbind.bind(this)}:{bind:this._bind.bind(this),update:this._update.bind(this),unbind:this._unbind.bind(this)}},enumerable:!0,configurable:!0});_CtxMenuUtils.prototype._bind=function(e,t,o){var n=this,listener=function(i){if(!wjcCore.closest(i.target,"[disabled]")){var r=n._getMenuControl(t,o);if(r&&r.dropDown){i.preventDefault();i.stopPropagation();r.owner=e;r.show(i)}}};e.addEventListener("contextmenu",listener);e[this.key]={binding:t,listener:listener}};_CtxMenuUtils.prototype._unbind=function(e){var t=e[this.key]&&e[this.key].listener;t&&e.removeEventListener("contextmenu",t);e[this.key]=null};_CtxMenuUtils.prototype._update=function(e,t,o){var n=e[this.key]&&e[this.key].binding;if(!n||n.value!==t.value){this._unbind(e);this._bind(e,t,o)}};_CtxMenuUtils.prototype._getMenuControl=function(e,t){var o=null,n=null,i=e.value;if(null==i&&0===e.expression.indexOf("$refs.")){i=new wjcCore.Binding(e.expression).getValue(t.context)}wjcCore.isString(i)?n=document.getElementById(i):i instanceof HTMLElement&&(n=i);o=n?wjcCore.Control.getControl(n):i&&i.control||i;return wjcCore.tryCast(o,wjcInput.Menu)};return _CtxMenuUtils}(),wjContextMenuDefinition=(new _CtxMenuUtils).definition,WjContextMenuTag="wjContextMenu";export var WjContextMenu=VueApi.isV3Plus?wjContextMenuDefinition:VueApi.directive(WjContextMenuTag,wjContextMenuDefinition);function registerV3WjContextMenu(e){e.directive(WjContextMenuTag,WjContextMenu)}var WjCollectionViewNavigatorBehavior=function(e){__extends(WjCollectionViewNavigatorBehavior,e);function WjCollectionViewNavigatorBehavior(){return null!==e&&e.apply(this,arguments)||this}WjCollectionViewNavigatorBehavior.tag="wj-collection-view-navigator";WjCollectionViewNavigatorBehavior.props=["isDisabled","tabOrder","cv","byPage","headerFormat","repeatButtons"];WjCollectionViewNavigatorBehavior.events=["initialized","gotFocus","lostFocus","refreshing","refreshed","invalidInput"];WjCollectionViewNavigatorBehavior.classCtor=function(){return wjcInput.CollectionViewNavigator};return WjCollectionViewNavigatorBehavior}(WjComponentBehavior);export var WjCollectionViewNavigator=WjCollectionViewNavigatorBehavior.register();function registerV3WjCollectionViewNavigator(e){e.component(WjCollectionViewNavigatorBehavior.tag,WjCollectionViewNavigator)}export function registerInput(e){if(VueApi.isV3Plus){registerV3WjListBox(e);registerV3WjMultiSelectListBox(e);registerV3WjComboBox(e);registerV3WjAutoComplete(e);registerV3WjCalendar(e);registerV3WjColorPicker(e);registerV3WjInputMask(e);registerV3WjInputColor(e);registerV3WjMultiSelect(e);registerV3WjMultiAutoComplete(e);registerV3WjInputNumber(e);registerV3WjInputDate(e);registerV3WjInputTime(e);registerV3WjInputDateTime(e);registerV3WjInputDateRange(e);registerV3WjMenu(e);registerV3WjMenuItem(e);registerV3WjMenuSeparator(e);registerV3WjItemTemplate(e);registerV3WjPopup(e);registerV3WjContextMenu(e);registerV3WjCollectionViewNavigator(e)}}
|
package/index.d.ts
ADDED
|
@@ -0,0 +1,253 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
*
|
|
3
|
+
* Wijmo Library 5.20232.939
|
|
4
|
+
* https://developer.mescius.com/wijmo
|
|
5
|
+
*
|
|
6
|
+
* Copyright(c) MESCIUS inc. All rights reserved.
|
|
7
|
+
*
|
|
8
|
+
* Licensed under the End-User License Agreement For MESCIUS Wijmo Software.
|
|
9
|
+
* us.sales@mescius.com
|
|
10
|
+
* https://developer.mescius.com/wijmo/licensing
|
|
11
|
+
*
|
|
12
|
+
*/
|
|
13
|
+
/**
|
|
14
|
+
* {@module wijmo.vue2.input}
|
|
15
|
+
* Contains Vue 2 and 3 components for the <b>wijmo.input</b> module.
|
|
16
|
+
*/
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
*/
|
|
20
|
+
export declare var ___keepComment: any;
|
|
21
|
+
/**
|
|
22
|
+
* Vue component for the {@link wijmo.input.ListBox} control.
|
|
23
|
+
*
|
|
24
|
+
* The <b>wj-list-box</b> component may contain
|
|
25
|
+
* a {@link wijmo.vue2.input.WjItemTemplate} child component.
|
|
26
|
+
*
|
|
27
|
+
* The component supports all properties and events of the pure JavaScript {@link wijmo.input.ListBox} control it represents.
|
|
28
|
+
*
|
|
29
|
+
* The component includes an <b>initialized</b> event that is raised when the control is initialized after it is added to the page.
|
|
30
|
+
* You can use this event to perform further initialization in addition to setting properties in markup.
|
|
31
|
+
* The signature of the handler function is the same as any other Wijmo event handlers.
|
|
32
|
+
*/
|
|
33
|
+
export declare var WjListBox: any;
|
|
34
|
+
/**
|
|
35
|
+
* Vue component for the {@link wijmo.input.MultiSelectListBox} control.
|
|
36
|
+
*
|
|
37
|
+
* The component supports all properties and events of the pure JavaScript {@link wijmo.input.MultiSelectListBox} control it represents.
|
|
38
|
+
*
|
|
39
|
+
* The component includes an <b>initialized</b> event that is raised when the control is initialized after it is added to the page.
|
|
40
|
+
* You can use this event to perform further initialization in addition to setting properties in markup.
|
|
41
|
+
* The signature of the handler function is the same as any other Wijmo event handlers.
|
|
42
|
+
*/
|
|
43
|
+
export declare var WjMultiSelectListBox: any;
|
|
44
|
+
/**
|
|
45
|
+
* Vue component for the {@link wijmo.input.ComboBox} control.
|
|
46
|
+
*
|
|
47
|
+
* The <b>wj-combo-box</b> component may contain
|
|
48
|
+
* a {@link wijmo.vue2.input.WjItemTemplate} child component.
|
|
49
|
+
*
|
|
50
|
+
* The component supports all properties and events of the pure JavaScript {@link wijmo.input.ComboBox} control it represents.
|
|
51
|
+
*
|
|
52
|
+
* The component includes an <b>initialized</b> event that is raised when the control is initialized after it is added to the page.
|
|
53
|
+
* You can use this event to perform further initialization in addition to setting properties in markup.
|
|
54
|
+
* The signature of the handler function is the same as any other Wijmo event handlers.
|
|
55
|
+
*/
|
|
56
|
+
export declare var WjComboBox: any;
|
|
57
|
+
/**
|
|
58
|
+
* Vue component for the {@link wijmo.input.AutoComplete} control.
|
|
59
|
+
*
|
|
60
|
+
* The component supports all properties and events of the pure JavaScript {@link wijmo.input.AutoComplete} control it represents.
|
|
61
|
+
*
|
|
62
|
+
* The component includes an <b>initialized</b> event that is raised when the control is initialized after it is added to the page.
|
|
63
|
+
* You can use this event to perform further initialization in addition to setting properties in markup.
|
|
64
|
+
* The signature of the handler function is the same as any other Wijmo event handlers.
|
|
65
|
+
*/
|
|
66
|
+
export declare var WjAutoComplete: any;
|
|
67
|
+
/**
|
|
68
|
+
* Vue component for the {@link wijmo.input.Calendar} control.
|
|
69
|
+
*
|
|
70
|
+
* The component supports all properties and events of the pure JavaScript {@link wijmo.input.Calendar} control it represents.
|
|
71
|
+
*
|
|
72
|
+
* The component includes an <b>initialized</b> event that is raised when the control is initialized after it is added to the page.
|
|
73
|
+
* You can use this event to perform further initialization in addition to setting properties in markup.
|
|
74
|
+
* The signature of the handler function is the same as any other Wijmo event handlers.
|
|
75
|
+
*/
|
|
76
|
+
export declare var WjCalendar: any;
|
|
77
|
+
/**
|
|
78
|
+
* Vue component for the {@link wijmo.input.ColorPicker} control.
|
|
79
|
+
*
|
|
80
|
+
* The component supports all properties and events of the pure JavaScript {@link wijmo.input.ColorPicker} control it represents.
|
|
81
|
+
*
|
|
82
|
+
* The component includes an <b>initialized</b> event that is raised when the control is initialized after it is added to the page.
|
|
83
|
+
* You can use this event to perform further initialization in addition to setting properties in markup.
|
|
84
|
+
* The signature of the handler function is the same as any other Wijmo event handlers.
|
|
85
|
+
*/
|
|
86
|
+
export declare var WjColorPicker: any;
|
|
87
|
+
/**
|
|
88
|
+
* Vue component for the {@link wijmo.input.InputMask} control.
|
|
89
|
+
*
|
|
90
|
+
* The component supports all properties and events of the pure JavaScript {@link wijmo.input.InputMask} control it represents.
|
|
91
|
+
*
|
|
92
|
+
* The component includes an <b>initialized</b> event that is raised when the control is initialized after it is added to the page.
|
|
93
|
+
* You can use this event to perform further initialization in addition to setting properties in markup.
|
|
94
|
+
* The signature of the handler function is the same as any other Wijmo event handlers.
|
|
95
|
+
*/
|
|
96
|
+
export declare var WjInputMask: any;
|
|
97
|
+
/**
|
|
98
|
+
* Vue component for the {@link wijmo.input.InputColor} control.
|
|
99
|
+
*
|
|
100
|
+
* The component supports all properties and events of the pure JavaScript {@link wijmo.input.InputColor} control it represents.
|
|
101
|
+
*
|
|
102
|
+
* The component includes an <b>initialized</b> event that is raised when the control is initialized after it is added to the page.
|
|
103
|
+
* You can use this event to perform further initialization in addition to setting properties in markup.
|
|
104
|
+
* The signature of the handler function is the same as any other Wijmo event handlers.
|
|
105
|
+
*/
|
|
106
|
+
export declare var WjInputColor: any;
|
|
107
|
+
/**
|
|
108
|
+
* Vue component for the {@link wijmo.input.MultiSelect} control.
|
|
109
|
+
*
|
|
110
|
+
* The <b>wj-multi-select</b> component may contain
|
|
111
|
+
* a {@link wijmo.vue2.input.WjItemTemplate} child component.
|
|
112
|
+
*
|
|
113
|
+
* The component supports all properties and events of the pure JavaScript {@link wijmo.input.MultiSelect} control it represents.
|
|
114
|
+
*
|
|
115
|
+
* The component includes an <b>initialized</b> event that is raised when the control is initialized after it is added to the page.
|
|
116
|
+
* You can use this event to perform further initialization in addition to setting properties in markup.
|
|
117
|
+
* The signature of the handler function is the same as any other Wijmo event handlers.
|
|
118
|
+
*/
|
|
119
|
+
export declare var WjMultiSelect: any;
|
|
120
|
+
/**
|
|
121
|
+
* Vue component for the {@link wijmo.input.MultiAutoComplete} control.
|
|
122
|
+
*
|
|
123
|
+
* The component supports all properties and events of the pure JavaScript {@link wijmo.input.MultiAutoComplete} control it represents.
|
|
124
|
+
*
|
|
125
|
+
* The component includes an <b>initialized</b> event that is raised when the control is initialized after it is added to the page.
|
|
126
|
+
* You can use this event to perform further initialization in addition to setting properties in markup.
|
|
127
|
+
* The signature of the handler function is the same as any other Wijmo event handlers.
|
|
128
|
+
*/
|
|
129
|
+
export declare var WjMultiAutoComplete: any;
|
|
130
|
+
/**
|
|
131
|
+
* Vue component for the {@link wijmo.input.InputNumber} control.
|
|
132
|
+
*
|
|
133
|
+
* The component supports all properties and events of the pure JavaScript {@link wijmo.input.InputNumber} control it represents.
|
|
134
|
+
*
|
|
135
|
+
* The component includes an <b>initialized</b> event that is raised when the control is initialized after it is added to the page.
|
|
136
|
+
* You can use this event to perform further initialization in addition to setting properties in markup.
|
|
137
|
+
* The signature of the handler function is the same as any other Wijmo event handlers.
|
|
138
|
+
*/
|
|
139
|
+
export declare var WjInputNumber: any;
|
|
140
|
+
/**
|
|
141
|
+
* Vue component for the {@link wijmo.input.InputDate} control.
|
|
142
|
+
*
|
|
143
|
+
* The component supports all properties and events of the pure JavaScript {@link wijmo.input.InputDate} control it represents.
|
|
144
|
+
*
|
|
145
|
+
* The component includes an <b>initialized</b> event that is raised when the control is initialized after it is added to the page.
|
|
146
|
+
* You can use this event to perform further initialization in addition to setting properties in markup.
|
|
147
|
+
* The signature of the handler function is the same as any other Wijmo event handlers.
|
|
148
|
+
*/
|
|
149
|
+
export declare var WjInputDate: any;
|
|
150
|
+
/**
|
|
151
|
+
* Vue component for the {@link wijmo.input.InputTime} control.
|
|
152
|
+
*
|
|
153
|
+
* The component supports all properties and events of the pure JavaScript {@link wijmo.input.InputTime} control it represents.
|
|
154
|
+
*
|
|
155
|
+
* The component includes an <b>initialized</b> event that is raised when the control is initialized after it is added to the page.
|
|
156
|
+
* You can use this event to perform further initialization in addition to setting properties in markup.
|
|
157
|
+
* The signature of the handler function is the same as any other Wijmo event handlers.
|
|
158
|
+
*/
|
|
159
|
+
export declare var WjInputTime: any;
|
|
160
|
+
/**
|
|
161
|
+
* Vue component for the {@link wijmo.input.InputDateTime} control.
|
|
162
|
+
*
|
|
163
|
+
* The component supports all properties and events of the pure JavaScript {@link wijmo.input.InputDateTime} control it represents.
|
|
164
|
+
*
|
|
165
|
+
* The component includes an <b>initialized</b> event that is raised when the control is initialized after it is added to the page.
|
|
166
|
+
* You can use this event to perform further initialization in addition to setting properties in markup.
|
|
167
|
+
* The signature of the handler function is the same as any other Wijmo event handlers.
|
|
168
|
+
*/
|
|
169
|
+
export declare var WjInputDateTime: any;
|
|
170
|
+
/**
|
|
171
|
+
* Vue component for the {@link wijmo.input.InputDateRange} control.
|
|
172
|
+
*
|
|
173
|
+
* The component supports all properties and events of the pure JavaScript {@link wijmo.input.InputDateRange} control it represents.
|
|
174
|
+
*
|
|
175
|
+
* The component includes an <b>initialized</b> event that is raised when the control is initialized after it is added to the page.
|
|
176
|
+
* You can use this event to perform further initialization in addition to setting properties in markup.
|
|
177
|
+
* The signature of the handler function is the same as any other Wijmo event handlers.
|
|
178
|
+
*/
|
|
179
|
+
export declare var WjInputDateRange: any;
|
|
180
|
+
/**
|
|
181
|
+
* Vue component for the {@link wijmo.input.Menu} control.
|
|
182
|
+
*
|
|
183
|
+
* The <b>wj-menu</b> component may contain
|
|
184
|
+
* the following child components:
|
|
185
|
+
* {@link wijmo.vue2.input.WjMenuItem}
|
|
186
|
+
* , {@link wijmo.vue2.input.WjMenuSeparator}
|
|
187
|
+
* and {@link wijmo.vue2.input.WjItemTemplate}.
|
|
188
|
+
*
|
|
189
|
+
* The component supports all properties and events of the pure JavaScript {@link wijmo.input.Menu} control it represents.
|
|
190
|
+
*
|
|
191
|
+
* The component includes an <b>initialized</b> event that is raised when the control is initialized after it is added to the page.
|
|
192
|
+
* You can use this event to perform further initialization in addition to setting properties in markup.
|
|
193
|
+
* The signature of the handler function is the same as any other Wijmo event handlers.
|
|
194
|
+
*/
|
|
195
|
+
export declare var WjMenu: any;
|
|
196
|
+
/**
|
|
197
|
+
* Vue component for {@link wijmo.vue2.input.WjMenu} items.
|
|
198
|
+
*
|
|
199
|
+
* The <b>wj-menu-item</b> component should be contained in
|
|
200
|
+
* a {@link wijmo.vue2.input.WjMenu} component.
|
|
201
|
+
*
|
|
202
|
+
* The component supports all properties and events of the pure JavaScript {@link } class it represents.
|
|
203
|
+
*
|
|
204
|
+
* The component includes an <b>initialized</b> event that is raised when the control is initialized after it is added to the page.
|
|
205
|
+
* You can use this event to perform further initialization in addition to setting properties in markup.
|
|
206
|
+
* The signature of the handler function is the same as any other Wijmo event handlers.
|
|
207
|
+
*/
|
|
208
|
+
export declare var WjMenuItem: any;
|
|
209
|
+
/**
|
|
210
|
+
* Vue component for {@link wijmo.vue2.input.WjMenu} item separators.
|
|
211
|
+
*
|
|
212
|
+
* The <b>wj-menu-separator</b> component should be contained in
|
|
213
|
+
* a {@link wijmo.vue2.input.WjMenu} component.
|
|
214
|
+
*
|
|
215
|
+
* The component supports all properties and events of the pure JavaScript {@link } class it represents.
|
|
216
|
+
*
|
|
217
|
+
* The component includes an <b>initialized</b> event that is raised when the control is initialized after it is added to the page.
|
|
218
|
+
* You can use this event to perform further initialization in addition to setting properties in markup.
|
|
219
|
+
* The signature of the handler function is the same as any other Wijmo event handlers.
|
|
220
|
+
*/
|
|
221
|
+
export declare var WjMenuSeparator: any;
|
|
222
|
+
/**
|
|
223
|
+
* Vue component to define item templates for item
|
|
224
|
+
* controls like {@link ListBox}, {@link ComboBox}, {@link MultiSelect}
|
|
225
|
+
* and {@link Menu}.
|
|
226
|
+
*/
|
|
227
|
+
export declare var WjItemTemplate: any;
|
|
228
|
+
/**
|
|
229
|
+
* Vue component for the {@link wijmo.input.Popup} control.
|
|
230
|
+
*
|
|
231
|
+
* The component supports all properties and events of the pure JavaScript {@link wijmo.input.Popup} control it represents.
|
|
232
|
+
*
|
|
233
|
+
* The component includes an <b>initialized</b> event that is raised when the control is initialized after it is added to the page.
|
|
234
|
+
* You can use this event to perform further initialization in addition to setting properties in markup.
|
|
235
|
+
* The signature of the handler function is the same as any other Wijmo event handlers.
|
|
236
|
+
*/
|
|
237
|
+
export declare var WjPopup: any;
|
|
238
|
+
/**
|
|
239
|
+
* Vue directive to define context menus for elements.
|
|
240
|
+
* TBD: description goes here...
|
|
241
|
+
**/
|
|
242
|
+
export declare var WjContextMenu: any;
|
|
243
|
+
/**
|
|
244
|
+
* Vue component for the {@link wijmo.input.CollectionViewNavigator} control.
|
|
245
|
+
*
|
|
246
|
+
* The component supports all properties and events of the pure JavaScript {@link wijmo.input.CollectionViewNavigator} control it represents.
|
|
247
|
+
*
|
|
248
|
+
* The component includes an <b>initialized</b> event that is raised when the control is initialized after it is added to the page.
|
|
249
|
+
* You can use this event to perform further initialization in addition to setting properties in markup.
|
|
250
|
+
* The signature of the handler function is the same as any other Wijmo event handlers.
|
|
251
|
+
*/
|
|
252
|
+
export declare var WjCollectionViewNavigator: any;
|
|
253
|
+
export declare function registerInput(app: any): void;
|
package/index.js
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
*
|
|
3
|
+
* Wijmo Library 5.20232.939
|
|
4
|
+
* https://developer.mescius.com/wijmo
|
|
5
|
+
*
|
|
6
|
+
* Copyright(c) MESCIUS inc. All rights reserved.
|
|
7
|
+
*
|
|
8
|
+
* Licensed under the End-User License Agreement For MESCIUS Wijmo Software.
|
|
9
|
+
* us.sales@mescius.com
|
|
10
|
+
* https://developer.mescius.com/wijmo/licensing
|
|
11
|
+
*
|
|
12
|
+
*/
|
|
13
|
+
|
|
14
|
+
"use strict";var __extends=this&&this.__extends||function(){var extendStatics=function(e,t){return(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(e,t)};return function(e,t){extendStatics(e,t);function __(){this.constructor=e}e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}}(),__importStar=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var o in e)Object.hasOwnProperty.call(e,o)&&(t[o]=e[o]);t.default=e;return t};Object.defineProperty(exports,"__esModule",{value:!0});var wijmo_vue2_base_1=require("@mescius/wijmo.vue2.base"),wjcCore=__importStar(require("@mescius/wijmo")),wjcInput=__importStar(require("@mescius/wijmo.input")),WjListBoxBehavior=function(e){__extends(WjListBoxBehavior,e);function WjListBoxBehavior(){return null!==e&&e.apply(this,arguments)||this}WjListBoxBehavior.tag="wj-list-box";WjListBoxBehavior.props=["isDisabled","tabOrder","isContentHtml","maxHeight","selectedValuePath","itemFormatter","displayMemberPath","checkedMemberPath","caseSensitiveSearch","itemsSource","virtualizationThreshold","showGroups","selectedIndex","selectedItem","selectedValue","checkedItems"];WjListBoxBehavior.events=["initialized","gotFocus","lostFocus","refreshing","refreshed","invalidInput","formatItem","itemsChanged","itemChecked"];WjListBoxBehavior.changeEvents={selectedIndexChanged:["selectedIndex","selectedItem","selectedValue"],checkedItemsChanged:["checkedItems"]};WjListBoxBehavior.classCtor=function(){return wjcInput.ListBox};WjListBoxBehavior.modelProp="selectedValue";return WjListBoxBehavior}(wijmo_vue2_base_1.WjComponentBehavior);exports.WjListBox=WjListBoxBehavior.register();function registerV3WjListBox(e){e.component(WjListBoxBehavior.tag,exports.WjListBox)}var WjMultiSelectListBoxBehavior=function(e){__extends(WjMultiSelectListBoxBehavior,e);function WjMultiSelectListBoxBehavior(){return null!==e&&e.apply(this,arguments)||this}WjMultiSelectListBoxBehavior.tag="wj-multi-select-list-box";WjMultiSelectListBoxBehavior.props=["isDisabled","tabOrder","itemsSource","displayMemberPath","selectedIndex","isContentHtml","showGroups","checkOnFilter","showFilterInput","filterInputPlaceholder","showSelectAllCheckbox","selectAllLabel","delay","caseSensitiveSearch","checkedMemberPath","virtualizationThreshold","checkedItems"];WjMultiSelectListBoxBehavior.events=["initialized","gotFocus","lostFocus","refreshing","refreshed","invalidInput"];WjMultiSelectListBoxBehavior.changeEvents={selectedIndexChanged:["selectedIndex"],checkedItemsChanged:["checkedItems"]};WjMultiSelectListBoxBehavior.classCtor=function(){return wjcInput.MultiSelectListBox};WjMultiSelectListBoxBehavior.modelProp="checkedItems";return WjMultiSelectListBoxBehavior}(wijmo_vue2_base_1.WjComponentBehavior);exports.WjMultiSelectListBox=WjMultiSelectListBoxBehavior.register();function registerV3WjMultiSelectListBox(e){e.component(WjMultiSelectListBoxBehavior.tag,exports.WjMultiSelectListBox)}var WjComboBoxBehavior=function(e){__extends(WjComboBoxBehavior,e);function WjComboBoxBehavior(){return null!==e&&e.apply(this,arguments)||this}WjComboBoxBehavior.tag="wj-combo-box";WjComboBoxBehavior.props=["isDisabled","tabOrder","isDroppedDown","showDropDownButton","autoExpandSelection","placeholder","dropDownCssClass","isAnimated","isReadOnly","isRequired","inputType","clickAction","displayMemberPath","selectedValuePath","headerPath","isContentHtml","isEditable","handleWheel","maxDropDownHeight","maxDropDownWidth","itemFormatter","showGroups","trimText","caseSensitiveSearch","virtualizationThreshold","itemsSource","text","selectedIndex","selectedItem","selectedValue"];WjComboBoxBehavior.events=["initialized","gotFocus","lostFocus","refreshing","refreshed","invalidInput","isDroppedDownChanging","itemsSourceChanged","formatItem"];WjComboBoxBehavior.changeEvents={isDroppedDownChanged:["isDroppedDown"],textChanged:["text"],selectedIndexChanged:["selectedIndex","selectedItem","selectedValue"]};WjComboBoxBehavior.classCtor=function(){return wjcInput.ComboBox};WjComboBoxBehavior.modelProp="selectedValue";return WjComboBoxBehavior}(wijmo_vue2_base_1.WjComponentBehavior);exports.WjComboBox=WjComboBoxBehavior.register();function registerV3WjComboBox(e){e.component(WjComboBoxBehavior.tag,exports.WjComboBox)}var WjAutoCompleteBehavior=function(e){__extends(WjAutoCompleteBehavior,e);function WjAutoCompleteBehavior(){return null!==e&&e.apply(this,arguments)||this}WjAutoCompleteBehavior.tag="wj-auto-complete";WjAutoCompleteBehavior.props=["isDisabled","tabOrder","isDroppedDown","showDropDownButton","autoExpandSelection","placeholder","dropDownCssClass","isAnimated","isReadOnly","isRequired","inputType","clickAction","displayMemberPath","selectedValuePath","headerPath","isContentHtml","isEditable","handleWheel","maxDropDownHeight","maxDropDownWidth","itemFormatter","showGroups","trimText","caseSensitiveSearch","virtualizationThreshold","delay","maxItems","minLength","cssMatch","itemsSourceFunction","searchMemberPath","beginsWithSearch","itemsSource","text","selectedIndex","selectedItem","selectedValue"];WjAutoCompleteBehavior.events=["initialized","gotFocus","lostFocus","refreshing","refreshed","invalidInput","isDroppedDownChanging","itemsSourceChanged","formatItem"];WjAutoCompleteBehavior.changeEvents={isDroppedDownChanged:["isDroppedDown"],textChanged:["text"],selectedIndexChanged:["selectedIndex","selectedItem","selectedValue"]};WjAutoCompleteBehavior.classCtor=function(){return wjcInput.AutoComplete};WjAutoCompleteBehavior.modelProp="selectedValue";return WjAutoCompleteBehavior}(wijmo_vue2_base_1.WjComponentBehavior);exports.WjAutoComplete=WjAutoCompleteBehavior.register();function registerV3WjAutoComplete(e){e.component(WjAutoCompleteBehavior.tag,exports.WjAutoComplete)}var WjCalendarBehavior=function(e){__extends(WjCalendarBehavior,e);function WjCalendarBehavior(){return null!==e&&e.apply(this,arguments)||this}WjCalendarBehavior.tag="wj-calendar";WjCalendarBehavior.props=["isDisabled","tabOrder","monthView","showHeader","itemFormatter","itemValidator","firstDayOfWeek","max","min","formatYearMonth","formatDayHeaders","formatDays","formatYear","formatMonths","selectionMode","isReadOnly","handleWheel","repeatButtons","showYearPicker","value","displayMonth","monthCount","showMonthPicker","weeksBefore","weeksAfter","rangeEnd","rangeMin","rangeMax"];WjCalendarBehavior.events=["initialized","gotFocus","lostFocus","refreshing","refreshed","invalidInput","rangeChanged","formatItem"];WjCalendarBehavior.changeEvents={valueChanged:["value"],displayMonthChanged:["displayMonth"],rangeEndChanged:["rangeEnd"]};WjCalendarBehavior.classCtor=function(){return wjcInput.Calendar};WjCalendarBehavior.modelProp="value";return WjCalendarBehavior}(wijmo_vue2_base_1.WjComponentBehavior);exports.WjCalendar=WjCalendarBehavior.register();function registerV3WjCalendar(e){e.component(WjCalendarBehavior.tag,exports.WjCalendar)}var WjColorPickerBehavior=function(e){__extends(WjColorPickerBehavior,e);function WjColorPickerBehavior(){return null!==e&&e.apply(this,arguments)||this}WjColorPickerBehavior.tag="wj-color-picker";WjColorPickerBehavior.props=["isDisabled","tabOrder","showAlphaChannel","showColorString","palette","value"];WjColorPickerBehavior.events=["initialized","gotFocus","lostFocus","refreshing","refreshed","invalidInput"];WjColorPickerBehavior.changeEvents={valueChanged:["value"]};WjColorPickerBehavior.classCtor=function(){return wjcInput.ColorPicker};WjColorPickerBehavior.modelProp="value";return WjColorPickerBehavior}(wijmo_vue2_base_1.WjComponentBehavior);exports.WjColorPicker=WjColorPickerBehavior.register();function registerV3WjColorPicker(e){e.component(WjColorPickerBehavior.tag,exports.WjColorPicker)}var WjInputMaskBehavior=function(e){__extends(WjInputMaskBehavior,e);function WjInputMaskBehavior(){return null!==e&&e.apply(this,arguments)||this}WjInputMaskBehavior.tag="wj-input-mask";WjInputMaskBehavior.props=["isDisabled","tabOrder","mask","overwriteMode","isRequired","isReadOnly","promptChar","placeholder","inputType","rawValue","value"];WjInputMaskBehavior.events=["initialized","gotFocus","lostFocus","refreshing","refreshed","invalidInput"];WjInputMaskBehavior.changeEvents={valueChanged:["rawValue","value"]};WjInputMaskBehavior.classCtor=function(){return wjcInput.InputMask};WjInputMaskBehavior.modelProp="value";return WjInputMaskBehavior}(wijmo_vue2_base_1.WjComponentBehavior);exports.WjInputMask=WjInputMaskBehavior.register();function registerV3WjInputMask(e){e.component(WjInputMaskBehavior.tag,exports.WjInputMask)}var WjInputColorBehavior=function(e){__extends(WjInputColorBehavior,e);function WjInputColorBehavior(){return null!==e&&e.apply(this,arguments)||this}WjInputColorBehavior.tag="wj-input-color";WjInputColorBehavior.props=["isDisabled","tabOrder","isDroppedDown","showDropDownButton","autoExpandSelection","placeholder","dropDownCssClass","isAnimated","isReadOnly","isRequired","inputType","clickAction","showAlphaChannel","showColorString","value","text"];WjInputColorBehavior.events=["initialized","gotFocus","lostFocus","refreshing","refreshed","invalidInput","isDroppedDownChanging"];WjInputColorBehavior.changeEvents={isDroppedDownChanged:["isDroppedDown"],textChanged:["text"],valueChanged:["value"]};WjInputColorBehavior.classCtor=function(){return wjcInput.InputColor};WjInputColorBehavior.modelProp="value";return WjInputColorBehavior}(wijmo_vue2_base_1.WjComponentBehavior);exports.WjInputColor=WjInputColorBehavior.register();function registerV3WjInputColor(e){e.component(WjInputColorBehavior.tag,exports.WjInputColor)}var WjMultiSelectBehavior=function(e){__extends(WjMultiSelectBehavior,e);function WjMultiSelectBehavior(){return null!==e&&e.apply(this,arguments)||this}WjMultiSelectBehavior.tag="wj-multi-select";WjMultiSelectBehavior.props=["isDisabled","tabOrder","isDroppedDown","showDropDownButton","autoExpandSelection","placeholder","dropDownCssClass","isAnimated","isReadOnly","isRequired","inputType","clickAction","displayMemberPath","selectedValuePath","headerPath","isContentHtml","isEditable","handleWheel","maxDropDownHeight","maxDropDownWidth","itemFormatter","showGroups","trimText","caseSensitiveSearch","virtualizationThreshold","checkedMemberPath","maxHeaderItems","headerFormat","headerFormatter","showSelectAllCheckbox","selectAllLabel","showFilterInput","filterInputPlaceholder","checkOnFilter","delay","caseSensitiveSearch","itemsSource","checkedItems","text","selectedIndex","selectedItem","selectedValue"];WjMultiSelectBehavior.events=["initialized","gotFocus","lostFocus","refreshing","refreshed","invalidInput","isDroppedDownChanging","itemsSourceChanged","formatItem"];WjMultiSelectBehavior.changeEvents={isDroppedDownChanged:["isDroppedDown"],textChanged:["text"],selectedIndexChanged:["selectedIndex","selectedItem","selectedValue"],checkedItemsChanged:["checkedItems"]};WjMultiSelectBehavior.classCtor=function(){return wjcInput.MultiSelect};WjMultiSelectBehavior.modelProp="checkedItems";return WjMultiSelectBehavior}(wijmo_vue2_base_1.WjComponentBehavior);exports.WjMultiSelect=WjMultiSelectBehavior.register();function registerV3WjMultiSelect(e){e.component(WjMultiSelectBehavior.tag,exports.WjMultiSelect)}var WjMultiAutoCompleteBehavior=function(e){__extends(WjMultiAutoCompleteBehavior,e);function WjMultiAutoCompleteBehavior(){return null!==e&&e.apply(this,arguments)||this}WjMultiAutoCompleteBehavior.tag="wj-multi-auto-complete";WjMultiAutoCompleteBehavior.props=["isDisabled","tabOrder","isDroppedDown","showDropDownButton","autoExpandSelection","placeholder","dropDownCssClass","isAnimated","isReadOnly","isRequired","inputType","clickAction","displayMemberPath","selectedValuePath","headerPath","isContentHtml","isEditable","handleWheel","maxDropDownHeight","maxDropDownWidth","itemFormatter","showGroups","trimText","caseSensitiveSearch","virtualizationThreshold","delay","maxItems","minLength","cssMatch","itemsSourceFunction","searchMemberPath","beginsWithSearch","maxSelectedItems","selectedItems","itemsSource","selectedMemberPath","text","selectedIndex","selectedItem","selectedValue"];WjMultiAutoCompleteBehavior.events=["initialized","gotFocus","lostFocus","refreshing","refreshed","invalidInput","isDroppedDownChanging","itemsSourceChanged","formatItem"];WjMultiAutoCompleteBehavior.changeEvents={isDroppedDownChanged:["isDroppedDown"],textChanged:["text"],selectedIndexChanged:["selectedIndex","selectedItem","selectedValue"],selectedItemsChanged:["selectedItems"]};WjMultiAutoCompleteBehavior.classCtor=function(){return wjcInput.MultiAutoComplete};WjMultiAutoCompleteBehavior.modelProp="selectedItems";return WjMultiAutoCompleteBehavior}(wijmo_vue2_base_1.WjComponentBehavior);exports.WjMultiAutoComplete=WjMultiAutoCompleteBehavior.register();function registerV3WjMultiAutoComplete(e){e.component(WjMultiAutoCompleteBehavior.tag,exports.WjMultiAutoComplete)}var WjInputNumberBehavior=function(e){__extends(WjInputNumberBehavior,e);function WjInputNumberBehavior(){return null!==e&&e.apply(this,arguments)||this}WjInputNumberBehavior.tag="wj-input-number";WjInputNumberBehavior.props=["isDisabled","tabOrder","showSpinner","repeatButtons","max","min","step","isRequired","placeholder","inputType","format","isReadOnly","handleWheel","value","text"];WjInputNumberBehavior.events=["initialized","gotFocus","lostFocus","refreshing","refreshed","invalidInput"];WjInputNumberBehavior.changeEvents={valueChanged:["value"],textChanged:["text"]};WjInputNumberBehavior.classCtor=function(){return wjcInput.InputNumber};WjInputNumberBehavior.modelProp="value";return WjInputNumberBehavior}(wijmo_vue2_base_1.WjComponentBehavior);exports.WjInputNumber=WjInputNumberBehavior.register();function registerV3WjInputNumber(e){e.component(WjInputNumberBehavior.tag,exports.WjInputNumber)}var WjInputDateBehavior=function(e){__extends(WjInputDateBehavior,e);function WjInputDateBehavior(){return null!==e&&e.apply(this,arguments)||this}WjInputDateBehavior.tag="wj-input-date";WjInputDateBehavior.props=["isDisabled","tabOrder","isDroppedDown","showDropDownButton","autoExpandSelection","placeholder","dropDownCssClass","isAnimated","isReadOnly","isRequired","inputType","clickAction","selectionMode","format","mask","max","min","inputType","repeatButtons","showYearPicker","itemValidator","itemFormatter","monthCount","handleWheel","showMonthPicker","showHeader","weeksBefore","weeksAfter","rangeMin","rangeMax","separator","alwaysShowCalendar","predefinedRanges","closeOnSelection","text","value","rangeEnd"];WjInputDateBehavior.events=["initialized","gotFocus","lostFocus","refreshing","refreshed","invalidInput","isDroppedDownChanging","rangeChanged"];WjInputDateBehavior.changeEvents={isDroppedDownChanged:["isDroppedDown"],textChanged:["text"],valueChanged:["value"],rangeEndChanged:["rangeEnd"]};WjInputDateBehavior.classCtor=function(){return wjcInput.InputDate};WjInputDateBehavior.modelProp="value";return WjInputDateBehavior}(wijmo_vue2_base_1.WjComponentBehavior);exports.WjInputDate=WjInputDateBehavior.register();function registerV3WjInputDate(e){e.component(WjInputDateBehavior.tag,exports.WjInputDate)}var WjInputTimeBehavior=function(e){__extends(WjInputTimeBehavior,e);function WjInputTimeBehavior(){return null!==e&&e.apply(this,arguments)||this}WjInputTimeBehavior.tag="wj-input-time";WjInputTimeBehavior.props=["isDisabled","tabOrder","isDroppedDown","showDropDownButton","autoExpandSelection","placeholder","dropDownCssClass","isAnimated","isReadOnly","isRequired","inputType","clickAction","displayMemberPath","selectedValuePath","headerPath","isContentHtml","isEditable","handleWheel","maxDropDownHeight","maxDropDownWidth","itemFormatter","showGroups","trimText","caseSensitiveSearch","virtualizationThreshold","max","min","step","format","mask","inputType","itemsSource","text","selectedIndex","selectedItem","selectedValue","value"];WjInputTimeBehavior.events=["initialized","gotFocus","lostFocus","refreshing","refreshed","invalidInput","isDroppedDownChanging","itemsSourceChanged","formatItem"];WjInputTimeBehavior.changeEvents={isDroppedDownChanged:["isDroppedDown"],textChanged:["text"],selectedIndexChanged:["selectedIndex","selectedItem","selectedValue"],valueChanged:["value"]};WjInputTimeBehavior.classCtor=function(){return wjcInput.InputTime};WjInputTimeBehavior.modelProp="value";return WjInputTimeBehavior}(wijmo_vue2_base_1.WjComponentBehavior);exports.WjInputTime=WjInputTimeBehavior.register();function registerV3WjInputTime(e){e.component(WjInputTimeBehavior.tag,exports.WjInputTime)}var WjInputDateTimeBehavior=function(e){__extends(WjInputDateTimeBehavior,e);function WjInputDateTimeBehavior(){return null!==e&&e.apply(this,arguments)||this}WjInputDateTimeBehavior.tag="wj-input-date-time";WjInputDateTimeBehavior.props=["isDisabled","tabOrder","isDroppedDown","showDropDownButton","autoExpandSelection","placeholder","dropDownCssClass","isAnimated","isReadOnly","isRequired","inputType","clickAction","selectionMode","format","mask","max","min","inputType","repeatButtons","showYearPicker","itemValidator","itemFormatter","monthCount","handleWheel","showMonthPicker","showHeader","weeksBefore","weeksAfter","rangeMin","rangeMax","separator","alwaysShowCalendar","predefinedRanges","closeOnSelection","timeMax","timeMin","timeStep","timeFormat","text","value","rangeEnd"];WjInputDateTimeBehavior.events=["initialized","gotFocus","lostFocus","refreshing","refreshed","invalidInput","isDroppedDownChanging","rangeChanged"];WjInputDateTimeBehavior.changeEvents={isDroppedDownChanged:["isDroppedDown"],textChanged:["text"],valueChanged:["value"],rangeEndChanged:["rangeEnd"]};WjInputDateTimeBehavior.classCtor=function(){return wjcInput.InputDateTime};WjInputDateTimeBehavior.modelProp="value";return WjInputDateTimeBehavior}(wijmo_vue2_base_1.WjComponentBehavior);exports.WjInputDateTime=WjInputDateTimeBehavior.register();function registerV3WjInputDateTime(e){e.component(WjInputDateTimeBehavior.tag,exports.WjInputDateTime)}var WjInputDateRangeBehavior=function(e){__extends(WjInputDateRangeBehavior,e);function WjInputDateRangeBehavior(){return null!==e&&e.apply(this,arguments)||this}WjInputDateRangeBehavior.tag="wj-input-date-range";WjInputDateRangeBehavior.props=["isDisabled","tabOrder","isDroppedDown","showDropDownButton","autoExpandSelection","placeholder","dropDownCssClass","isAnimated","isReadOnly","isRequired","inputType","clickAction","selectionMode","format","mask","max","min","inputType","repeatButtons","showYearPicker","itemValidator","itemFormatter","monthCount","handleWheel","showMonthPicker","showHeader","weeksBefore","weeksAfter","rangeMin","rangeMax","separator","alwaysShowCalendar","predefinedRanges","closeOnSelection","text","value","rangeEnd"];WjInputDateRangeBehavior.events=["initialized","gotFocus","lostFocus","refreshing","refreshed","invalidInput","isDroppedDownChanging","rangeChanged"];WjInputDateRangeBehavior.changeEvents={isDroppedDownChanged:["isDroppedDown"],textChanged:["text"],valueChanged:["value"],rangeEndChanged:["rangeEnd"]};WjInputDateRangeBehavior.classCtor=function(){return wjcInput.InputDateRange};WjInputDateRangeBehavior.modelProp="value";return WjInputDateRangeBehavior}(wijmo_vue2_base_1.WjComponentBehavior);exports.WjInputDateRange=WjInputDateRangeBehavior.register();function registerV3WjInputDateRange(e){e.component(WjInputDateRangeBehavior.tag,exports.WjInputDateRange)}var WjMenuBehavior=function(e){__extends(WjMenuBehavior,e);function WjMenuBehavior(){return null!==e&&e.apply(this,arguments)||this}Object.defineProperty(WjMenuBehavior.prototype,"value",{get:function(){return this._value},set:function(e){this._value=e;if(null!=e){this.control.selectedValue=e;this._updateHeader()}},enumerable:!0,configurable:!0});WjMenuBehavior.prototype._createControl=function(){var t=this,o=e.prototype._createControl.call(this);o.itemsSource=new wjcCore.ObservableArray;o.selectedIndex=0;o.listBox.formatItem.addHandler(this._fmtItem,this);o.invalidate();o.itemClicked.addHandler((function(e){t.value=t.control.selectedValue}));return o};WjMenuBehavior.prototype._updateControl=function(t,o){e.prototype._updateControl.call(this,t,o);if("header"===t){this._definedHeader=o;this._updateHeader()}"value"===t&&(this.value=o)};WjMenuBehavior.prototype._updateHeader=function(){this.control.header=this._definedHeader||"";var e=this.control.selectedItem;if(null!=this.value&&e&&this.control.displayMemberPath){var t=null;if(e instanceof WjMenuItemBehavior){var o=e.contentRoot;t=o?o.innerHTML:e[this.control.displayMemberPath]}null!=t&&(this.control.header+=": <b>"+t+"</b>")}};WjMenuBehavior.prototype._fmtItem=function(e,t){if(t.data instanceof WjMenuItemBehavior||t.data instanceof WjMenuSeparatorBehavior){t.item.textContent="";t.item.appendChild(t.data.contentRoot);t.data.added(t.item)}};WjMenuBehavior.tag="wj-menu";WjMenuBehavior.props=["isDisabled","tabOrder","isDroppedDown","showDropDownButton","autoExpandSelection","placeholder","dropDownCssClass","isAnimated","isReadOnly","isRequired","inputType","clickAction","displayMemberPath","selectedValuePath","headerPath","isContentHtml","isEditable","handleWheel","maxDropDownHeight","maxDropDownWidth","itemFormatter","showGroups","trimText","caseSensitiveSearch","virtualizationThreshold","header","commandParameterPath","commandPath","subItemsPath","openOnHover","closeOnLeave","isButton","itemsSource","text","selectedIndex","selectedItem","selectedValue","value"];WjMenuBehavior.events=["initialized","gotFocus","lostFocus","refreshing","refreshed","invalidInput","isDroppedDownChanging","itemsSourceChanged","formatItem"];WjMenuBehavior.changeEvents={isDroppedDownChanged:["isDroppedDown"],textChanged:["text"],selectedIndexChanged:["selectedIndex","selectedItem","selectedValue"],itemClicked:["value"]};WjMenuBehavior.classCtor=function(){return wjcInput.Menu};WjMenuBehavior.modelProp="selectedValue";return WjMenuBehavior}(wijmo_vue2_base_1.WjComponentBehavior);exports.WjMenu=WjMenuBehavior.register();function registerV3WjMenu(e){e.component(WjMenuBehavior.tag,exports.WjMenu)}var WjMenuItemBehavior=function(e){__extends(WjMenuItemBehavior,e);function WjMenuItemBehavior(){return null!==e&&e.apply(this,arguments)||this}WjMenuItemBehavior.prototype._createControl=function(){var e=this.parent.control;1==e.itemsSource.length&&e.selectedIndex<0&&(e.selectedIndex=0);e.displayMemberPath||(e.displayMemberPath="header");e.selectedValuePath||(e.selectedValuePath="value");e.commandPath||(e.commandPath="cmd");e.commandParameterPath||(e.commandParameterPath="cmdParam");this.contentRoot=this.component.$el.firstElementChild;this.component.$el.style.display="none";return this};WjMenuItemBehavior.prototype.added=function(e){};WjMenuItemBehavior.tag="wj-menu-item";WjMenuItemBehavior.parentProp="itemsSource";WjMenuItemBehavior.siblingId="menuItemDir";WjMenuItemBehavior.props=["wjProperty","value","cmd","cmdParam"];WjMenuItemBehavior.events=["initialized"];WjMenuItemBehavior.render=function(e){if(wijmo_vue2_base_1.VueApi.isV3Plus){var t=wijmo_vue2_base_1.VueApi.h,o=this.$slots.default;return t("div",{},[t("div",{},o&&o())])}return e("div",[e("div",[this.$slots.default])])};return WjMenuItemBehavior}(wijmo_vue2_base_1.WjComponentBehavior);exports.WjMenuItem=WjMenuItemBehavior.register();function registerV3WjMenuItem(e){e.component(WjMenuItemBehavior.tag,exports.WjMenuItem)}var WjMenuSeparatorBehavior=function(e){__extends(WjMenuSeparatorBehavior,e);function WjMenuSeparatorBehavior(){return null!==e&&e.apply(this,arguments)||this}WjMenuSeparatorBehavior.prototype._createControl=function(){this.contentRoot=this.component.$el.firstElementChild;this.component.$el.style.display="none";return this};WjMenuSeparatorBehavior.prototype.added=function(e){wjcCore.addClass(e,"wj-state-disabled")};WjMenuSeparatorBehavior.tag="wj-menu-separator";WjMenuSeparatorBehavior.parentProp="itemsSource";WjMenuSeparatorBehavior.siblingId="menuItemDir";WjMenuSeparatorBehavior.props=["wjProperty"];WjMenuSeparatorBehavior.events=["initialized"];WjMenuSeparatorBehavior.render=function(e){var t={width:"100%",height:"1px","background-color":"lightgray"};if(wijmo_vue2_base_1.VueApi.isV3Plus){var o=wijmo_vue2_base_1.VueApi.h;return o("div",{},[o("div",{style:t})])}return e("div",[e("div",{style:t})])};return WjMenuSeparatorBehavior}(wijmo_vue2_base_1.WjComponentBehavior);exports.WjMenuSeparator=WjMenuSeparatorBehavior.register();function registerV3WjMenuSeparator(e){e.component(WjMenuSeparatorBehavior.tag,exports.WjMenuSeparator)}var WjItemTemplateDefinition={render:function(e){return wijmo_vue2_base_1.VueApi.isV3Plus?wijmo_vue2_base_1.VueApi.h("div"):e("div")},mounted:function(){var e=this,t=this.$parent;if(t){var o=t[wijmo_vue2_base_1.WjComponentBehavior._behProp];o._mountedCB((function(){var t=o.control;e.ownerControl=t instanceof wjcInput.ListBox?t:t.listBox instanceof wjcInput.ListBox?t.listBox:void 0;e.itemComponents=[];var i=wijmo_vue2_base_1.VueApi.isV3Plus?e.$slots.default:e.$scopedSlots.default,n=e.ownerControl;if(n&&i){e.formatItemHandler=function(t,o){var r=o.index;if(!e.itemComponents[r])if(wijmo_vue2_base_1.VueApi.isV3Plus){var a=wijmo_vue2_base_1.VueApi.h,s={parent:e.component,render:function(){return a("div",{},i&&i({itemIndex:r,item:o.data,control:n}))}},u=a(s);e.itemComponents[r]=o.item;o.item.textContent="";wijmo_vue2_base_1.VueApi.render(u,o.item)}else{s=ItemTemplateComponentFactory(i,{itemIndex:r,item:o.data,control:n},e).$mount();e.itemComponents[r]=s;o.item.textContent="";o.item.appendChild(s.$el)}};n.formatItem.addHandler(e.formatItemHandler,e);n.loadingItems.addHandler((function(t){e._destroyItemComponents()}))}}))}},methods:{_destroyItemComponents:function(){(this.itemComponents||[]).forEach((function(e){wijmo_vue2_base_1.VueApi.isV3Plus?wijmo_vue2_base_1.VueApi.render(null,e):e.$destroy()}));this.itemComponents=[]}}};WjItemTemplateDefinition[wijmo_vue2_base_1.VueApi.isV3Plus?"unmounted":"destroyed"]=function(){this.formatItemHandler&&this.ownerControl.formatItem.removeHandler(this.formatItemHandler,this);this._destroyItemComponents()};var ItemTemplateComponentFactory=function(e,t,o){var i=new ItemTemplateComponent({parent:o});i.itemTemplate=e;i.itemData=t;return i},ItemTemplateComponent=wijmo_vue2_base_1.VueApi.extend({render:function(e){return e("div",{},this.itemTemplate&&this.itemTemplate(this.itemData))}}),WjItemTemplateTag="wj-item-template";exports.WjItemTemplate=wijmo_vue2_base_1.VueApi.isV3Plus?WjItemTemplateDefinition:wijmo_vue2_base_1.VueApi.component(WjItemTemplateTag,WjItemTemplateDefinition);function registerV3WjItemTemplate(e){e.component(WjItemTemplateTag,exports.WjItemTemplate)}var WjPopupBehavior=function(e){__extends(WjPopupBehavior,e);function WjPopupBehavior(){return null!==e&&e.apply(this,arguments)||this}WjPopupBehavior.tag="wj-popup";WjPopupBehavior.props=["isDisabled","tabOrder","owner","showTrigger","hideTrigger","fadeIn","fadeOut","isDraggable","isResizable","dialogResultEnter","dialogResultSubmit","modal","removeOnHide"];WjPopupBehavior.events=["initialized","gotFocus","lostFocus","refreshing","refreshed","invalidInput","showing","shown","hiding","hidden","resizing","sizeChanging","sizeChanged","resized","dragging","positionChanging","positionChanged","dragged"];WjPopupBehavior.classCtor=function(){return wjcInput.Popup};return WjPopupBehavior}(wijmo_vue2_base_1.WjComponentBehavior);exports.WjPopup=WjPopupBehavior.register();function registerV3WjPopup(e){e.component(WjPopupBehavior.tag,exports.WjPopup)}var _CtxMenuUtils=function(){function _CtxMenuUtils(){this.key="__wjCtxMenu"}Object.defineProperty(_CtxMenuUtils.prototype,"definition",{get:function(){return wijmo_vue2_base_1.VueApi.isV3Plus?{mounted:this._bind.bind(this),updated:this._update.bind(this),unmounted:this._unbind.bind(this)}:{bind:this._bind.bind(this),update:this._update.bind(this),unbind:this._unbind.bind(this)}},enumerable:!0,configurable:!0});_CtxMenuUtils.prototype._bind=function(e,t,o){var i=this,listener=function(n){if(!wjcCore.closest(n.target,"[disabled]")){var r=i._getMenuControl(t,o);if(r&&r.dropDown){n.preventDefault();n.stopPropagation();r.owner=e;r.show(n)}}};e.addEventListener("contextmenu",listener);e[this.key]={binding:t,listener:listener}};_CtxMenuUtils.prototype._unbind=function(e){var t=e[this.key]&&e[this.key].listener;t&&e.removeEventListener("contextmenu",t);e[this.key]=null};_CtxMenuUtils.prototype._update=function(e,t,o){var i=e[this.key]&&e[this.key].binding;if(!i||i.value!==t.value){this._unbind(e);this._bind(e,t,o)}};_CtxMenuUtils.prototype._getMenuControl=function(e,t){var o=null,i=null,n=e.value;if(null==n&&0===e.expression.indexOf("$refs.")){n=new wjcCore.Binding(e.expression).getValue(t.context)}wjcCore.isString(n)?i=document.getElementById(n):n instanceof HTMLElement&&(i=n);o=i?wjcCore.Control.getControl(i):n&&n.control||n;return wjcCore.tryCast(o,wjcInput.Menu)};return _CtxMenuUtils}(),wjContextMenuDefinition=(new _CtxMenuUtils).definition,WjContextMenuTag="wjContextMenu";exports.WjContextMenu=wijmo_vue2_base_1.VueApi.isV3Plus?wjContextMenuDefinition:wijmo_vue2_base_1.VueApi.directive(WjContextMenuTag,wjContextMenuDefinition);function registerV3WjContextMenu(e){e.directive(WjContextMenuTag,exports.WjContextMenu)}var WjCollectionViewNavigatorBehavior=function(e){__extends(WjCollectionViewNavigatorBehavior,e);function WjCollectionViewNavigatorBehavior(){return null!==e&&e.apply(this,arguments)||this}WjCollectionViewNavigatorBehavior.tag="wj-collection-view-navigator";WjCollectionViewNavigatorBehavior.props=["isDisabled","tabOrder","cv","byPage","headerFormat","repeatButtons"];WjCollectionViewNavigatorBehavior.events=["initialized","gotFocus","lostFocus","refreshing","refreshed","invalidInput"];WjCollectionViewNavigatorBehavior.classCtor=function(){return wjcInput.CollectionViewNavigator};return WjCollectionViewNavigatorBehavior}(wijmo_vue2_base_1.WjComponentBehavior);exports.WjCollectionViewNavigator=WjCollectionViewNavigatorBehavior.register();function registerV3WjCollectionViewNavigator(e){e.component(WjCollectionViewNavigatorBehavior.tag,exports.WjCollectionViewNavigator)}function registerInput(e){if(wijmo_vue2_base_1.VueApi.isV3Plus){registerV3WjListBox(e);registerV3WjMultiSelectListBox(e);registerV3WjComboBox(e);registerV3WjAutoComplete(e);registerV3WjCalendar(e);registerV3WjColorPicker(e);registerV3WjInputMask(e);registerV3WjInputColor(e);registerV3WjMultiSelect(e);registerV3WjMultiAutoComplete(e);registerV3WjInputNumber(e);registerV3WjInputDate(e);registerV3WjInputTime(e);registerV3WjInputDateTime(e);registerV3WjInputDateRange(e);registerV3WjMenu(e);registerV3WjMenuItem(e);registerV3WjMenuSeparator(e);registerV3WjItemTemplate(e);registerV3WjPopup(e);registerV3WjContextMenu(e);registerV3WjCollectionViewNavigator(e)}}exports.registerInput=registerInput;
|
package/package.json
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@mescius/wijmo.vue2.input",
|
|
3
|
+
"version": "5.20232.939",
|
|
4
|
+
"description": "UI library for pure JS, Angular, React, Vue and more...",
|
|
5
|
+
"author": "MESCIUS inc",
|
|
6
|
+
"license": "Commercial",
|
|
7
|
+
"main": "./index.js",
|
|
8
|
+
"types": "./index.d.ts",
|
|
9
|
+
"dependencies": {
|
|
10
|
+
"@mescius/wijmo": "5.20232.939",
|
|
11
|
+
"@mescius/wijmo.input": "5.20232.939",
|
|
12
|
+
"@mescius/wijmo.vue2.base": "5.20232.939"
|
|
13
|
+
},
|
|
14
|
+
"homepage": "https://developer.mescius.com/wijmo",
|
|
15
|
+
"bugs": {
|
|
16
|
+
"url": "https://developer.mescius.com/forums/wijmo"
|
|
17
|
+
},
|
|
18
|
+
"keywords": [
|
|
19
|
+
"control",
|
|
20
|
+
"component",
|
|
21
|
+
"ui",
|
|
22
|
+
"control library",
|
|
23
|
+
"component library",
|
|
24
|
+
"ui library",
|
|
25
|
+
"control-library",
|
|
26
|
+
"component-library",
|
|
27
|
+
"ui-library",
|
|
28
|
+
"grid",
|
|
29
|
+
"data grid",
|
|
30
|
+
"data-grid",
|
|
31
|
+
"datagrid",
|
|
32
|
+
"angular grid",
|
|
33
|
+
"react grid",
|
|
34
|
+
"vue grid",
|
|
35
|
+
"angular-grid",
|
|
36
|
+
"react-grid",
|
|
37
|
+
"vue-grid"
|
|
38
|
+
],
|
|
39
|
+
"module": "./es5-esm.js",
|
|
40
|
+
"esm5": "./es5-esm.js",
|
|
41
|
+
"wj-esm5": "./es5-esm.js",
|
|
42
|
+
"es2015Cjs": "./es2015-commonjs.js",
|
|
43
|
+
"wj-es2015Cjs": "./es2015-commonjs.js",
|
|
44
|
+
"esm2015": "./es2015-esm.js",
|
|
45
|
+
"wj-esm2015": "./es2015-esm.js"
|
|
46
|
+
}
|