@ibiz-template/vue3-components 0.7.27 → 0.7.28-alpha.1
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/dist/chart-4KHwhatb.js +1 -0
- package/dist/index-5ZDQNjel.js +4 -0
- package/dist/{index-0TO7mjm5.js → index-HNRMy1_g.js} +1 -1
- package/dist/{index-g6o3vQXo.js → index-xa8K5AHD.js} +1 -1
- package/dist/index.min.css +1 -1
- package/dist/index.system.min.js +1 -1
- package/dist/wang-editor-YqnK5uQU.js +1 -0
- package/dist/{xlsx-util-qdXxbg2A.js → xlsx-util-nDELbrGS.js} +1 -1
- package/es/common/action-toolbar/action-toolbar.mjs +4 -3
- package/es/common/custom-theme/custom-theme.mjs +3 -2
- package/es/common/data-import2/data-import2.mjs +2 -5
- package/es/common/emoji-select/components/categories/categories.mjs +2 -1
- package/es/common/extend-action-timeline/extend-action-timeline.mjs +3 -2
- package/es/common/grid-setting/grid-setting.mjs +2 -1
- package/es/common/index.mjs +2 -0
- package/es/common/pagination/pagination.mjs +2 -1
- package/es/common/quick-edit/quick-edit.css +1 -0
- package/es/common/quick-edit/quick-edit.d.ts +38 -0
- package/es/common/quick-edit/quick-edit.mjs +116 -0
- package/es/common/rawitem/rawitem.mjs +2 -1
- package/es/control/app-menu/app-menu.mjs +2 -2
- package/es/control/app-menu/custom-menu-design/custom-menu-design.mjs +2 -2
- package/es/control/app-menu-icon-view/app-menu-icon-view.mjs +3 -2
- package/es/control/calendar/calendar.mjs +2 -1
- package/es/control/calendar/components/calendar-daily/calendar-daily.mjs +2 -1
- package/es/control/calendar/components/calendar-week/calendar-week.mjs +2 -1
- package/es/control/calendar/components/custom-calendar/custom-calendar.mjs +3 -2
- package/es/control/chart/chart.mjs +8 -0
- package/es/control/context-menu/context-menu.mjs +4 -3
- package/es/control/dashboard/custom-dashboard-container/custom-dashboard-container.d.ts +0 -1
- package/es/control/dashboard/custom-dashboard-container/custom-dashboard-container.mjs +2 -1
- package/es/control/dashboard/dashboard-design/dashboard-design.mjs +5 -4
- package/es/control/dashboard/portlet/menu-portlet/app-menu-portlet/app-menu-portlet.mjs +3 -2
- package/es/control/dashboard/portlet/portlet-layout/portlet-layout.mjs +2 -1
- package/es/control/drtab/drtab-control.util.mjs +1 -1
- package/es/control/drtab/drtab.mjs +2 -1
- package/es/control/form/form-detail/form-button/form-button.mjs +2 -1
- package/es/control/form/form-detail/form-item/form-item-container/form-item-container.mjs +3 -2
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-grid/repeater-grid.mjs +2 -2
- package/es/control/form/form-detail/form-mdctrl/mdctrl-container/mdctrl-container.mjs +2 -1
- package/es/control/form/form-detail/form-mdctrl/mdctrl-container2/mdctrl-container2.mjs +2 -1
- package/es/control/grid/grid/grid-control.util.d.ts +0 -2
- package/es/control/grid/grid/grid-control.util.mjs +9 -72
- package/es/control/grid/grid/grid.css +1 -1
- package/es/control/grid/grid/grid.d.ts +0 -2
- package/es/control/grid/grid/grid.mjs +1 -7
- package/es/control/grid/grid/index.d.ts +0 -2
- package/es/control/grid/grid-column/grid-field-column/grid-field-column.mjs +3 -2
- package/es/control/grid/row-edit-popover/row-edit-popover.d.ts +1 -1
- package/es/control/kanban/kanban.mjs +2 -2
- package/es/control/list/list.mjs +2 -1
- package/es/control/report-panel/report-panel.mjs +5 -0
- package/es/control/search-bar/filter-tree/filter-tree.d.ts +1 -1
- package/es/control/search-bar/search-bar.mjs +3 -2
- package/es/control/search-bar/search-groups/search-groups.mjs +6 -6
- package/es/control/toolbar/export-excel/export-excel.mjs +3 -2
- package/es/control/toolbar/short-cut-button/short-cut-button.mjs +2 -4
- package/es/control/toolbar/toolbar.css +1 -1
- package/es/control/toolbar/toolbar.mjs +150 -13
- package/es/control/tree-grid-ex/tree-grid-ex-column/tree-grid-ex-field-column/tree-grid-ex-field-column.mjs +3 -2
- package/es/control/wizard-panel/wizard-panel.mjs +2 -1
- package/es/editor/array/ibiz-array/ibiz-array.d.ts +1 -0
- package/es/editor/array/ibiz-array/ibiz-array.mjs +12 -3
- package/es/editor/autocomplete/ibiz-autocomplete/ibiz-autocomplete.mjs +2 -1
- package/es/editor/data-picker/ibiz-mpicker/ibiz-mpicker.mjs +2 -1
- package/es/editor/data-picker/ibiz-picker/ibiz-picker.mjs +2 -1
- package/es/editor/data-picker/ibiz-picker-dropdown/ibiz-picker-dropdown.mjs +2 -1
- package/es/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.mjs +9 -4
- package/es/editor/dropdown-list/ibiz-emoji-picker/ibiz-emoji-picker.d.ts +1 -1
- package/es/editor/dropdown-list/ibiz-emoji-picker/ibiz-emoji-picker.mjs +2 -9
- package/es/editor/html/html-editor.controller.d.ts +88 -0
- package/es/editor/html/html-editor.controller.mjs +169 -6
- package/es/editor/html/wang-editor/component/emoji/emoji.css +1 -0
- package/es/editor/html/wang-editor/component/emoji/emoji.d.ts +17 -0
- package/es/editor/html/wang-editor/component/emoji/emoji.mjs +42 -0
- package/es/editor/html/wang-editor/component/index.d.ts +1 -0
- package/es/editor/html/wang-editor/component/index.mjs +3 -0
- package/es/editor/html/wang-editor/element/emoji.d.ts +7 -0
- package/es/editor/html/wang-editor/element/emoji.mjs +22 -0
- package/es/editor/html/wang-editor/element/index.d.ts +1 -0
- package/es/editor/html/wang-editor/element/index.mjs +3 -0
- package/es/editor/html/wang-editor/index.d.ts +4 -0
- package/es/editor/html/wang-editor/index.mjs +11 -0
- package/es/editor/html/wang-editor/module/ai-module.d.ts +67 -0
- package/es/editor/html/wang-editor/module/ai-module.mjs +76 -0
- package/es/editor/html/wang-editor/module/emoji-module.d.ts +7 -0
- package/es/editor/html/wang-editor/module/emoji-module.mjs +125 -0
- package/es/editor/html/wang-editor/module/index.d.ts +2 -0
- package/es/editor/html/wang-editor/module/index.mjs +4 -0
- package/es/editor/html/wang-editor/plugin/index.d.ts +1 -0
- package/es/editor/html/wang-editor/plugin/index.mjs +3 -0
- package/es/editor/html/wang-editor/plugin/plugin.d.ts +7 -0
- package/es/editor/html/wang-editor/plugin/plugin.mjs +23 -0
- package/es/editor/html/wang-editor/wang-editor.css +1 -1
- package/es/editor/html/wang-editor/wang-editor.mjs +7 -7
- package/es/editor/number-range/ibiz-number-range-picker/ibiz-number-range-picker.d.ts +1 -1
- package/es/editor/number-range/ibiz-number-range-picker/ibiz-number-range-picker.mjs +10 -3
- package/es/editor/span/span/span.mjs +2 -2
- package/es/editor/text-box/ibiz-input-number/ibiz-input-number.d.ts +1 -1
- package/es/editor/text-box/ibiz-input-number/ibiz-input-number.mjs +5 -2
- package/es/editor/text-box/input/input.d.ts +1 -0
- package/es/editor/text-box/input/input.mjs +17 -4
- package/es/editor/user/ibiz-searchcond-edit/ibiz-searchcond-edit.mjs +2 -1
- package/es/index.mjs +1 -0
- package/es/locale/en/index.d.ts +1 -0
- package/es/locale/en/index.mjs +2 -1
- package/es/locale/zh-CN/index.d.ts +1 -0
- package/es/locale/zh-CN/index.mjs +2 -1
- package/es/node_modules/.pnpm/snabbdom@3.5.1/node_modules/snabbdom/build/h.mjs +89 -0
- package/es/node_modules/.pnpm/snabbdom@3.5.1/node_modules/snabbdom/build/helpers/attachto.mjs +47 -0
- package/es/node_modules/.pnpm/snabbdom@3.5.1/node_modules/snabbdom/build/hooks.mjs +1 -0
- package/es/node_modules/.pnpm/snabbdom@3.5.1/node_modules/snabbdom/build/htmldomapi.mjs +115 -0
- package/es/node_modules/.pnpm/snabbdom@3.5.1/node_modules/snabbdom/build/index.mjs +18 -0
- package/es/node_modules/.pnpm/snabbdom@3.5.1/node_modules/snabbdom/build/init.mjs +376 -0
- package/es/node_modules/.pnpm/snabbdom@3.5.1/node_modules/snabbdom/build/is.mjs +9 -0
- package/es/node_modules/.pnpm/snabbdom@3.5.1/node_modules/snabbdom/build/jsx.mjs +64 -0
- package/es/node_modules/.pnpm/snabbdom@3.5.1/node_modules/snabbdom/build/modules/attributes.mjs +59 -0
- package/es/node_modules/.pnpm/snabbdom@3.5.1/node_modules/snabbdom/build/modules/class.mjs +28 -0
- package/es/node_modules/.pnpm/snabbdom@3.5.1/node_modules/snabbdom/build/modules/dataset.mjs +42 -0
- package/es/node_modules/.pnpm/snabbdom@3.5.1/node_modules/snabbdom/build/modules/eventlisteners.mjs +85 -0
- package/es/node_modules/.pnpm/snabbdom@3.5.1/node_modules/snabbdom/build/modules/props.mjs +24 -0
- package/es/node_modules/.pnpm/snabbdom@3.5.1/node_modules/snabbdom/build/modules/style.mjs +115 -0
- package/es/node_modules/.pnpm/snabbdom@3.5.1/node_modules/snabbdom/build/thunk.mjs +52 -0
- package/es/node_modules/.pnpm/snabbdom@3.5.1/node_modules/snabbdom/build/tovnode.mjs +62 -0
- package/es/node_modules/.pnpm/snabbdom@3.5.1/node_modules/snabbdom/build/vnode.mjs +6 -0
- package/es/panel-component/auth-captcha/auth-captcha.mjs +2 -1
- package/es/panel-component/panel-button/panel-button.mjs +2 -1
- package/es/panel-component/short-cut/short-cut.mjs +2 -2
- package/es/panel-component/user-action/user-action.mjs +2 -1
- package/es/panel-component/user-message/async-action/async-action/async-action.mjs +2 -1
- package/es/panel-component/user-message/internal-message/common/internal-message-container/internal-message-container.mjs +2 -1
- package/es/panel-component/user-message/internal-message/internal-message-html/internal-message-html.d.ts +1 -0
- package/es/panel-component/user-message/internal-message/internal-message-html/internal-message-html.mjs +10 -4
- package/es/panel-component/user-message/internal-message/internal-message-html/internal-message-html.provider.d.ts +1 -0
- package/es/panel-component/user-message/user-message.mjs +3 -2
- package/es/util/index.d.ts +1 -0
- package/es/util/index.mjs +1 -0
- package/es/util/notification-util/notification-util.mjs +3 -1
- package/es/util/wang-editor-util/wang-editor-util.d.ts +11 -0
- package/es/util/wang-editor-util/wang-editor-util.mjs +12 -0
- package/lib/common/action-toolbar/action-toolbar.cjs +4 -3
- package/lib/common/custom-theme/custom-theme.cjs +3 -2
- package/lib/common/data-import2/data-import2.cjs +1 -4
- package/lib/common/emoji-select/components/categories/categories.cjs +2 -1
- package/lib/common/extend-action-timeline/extend-action-timeline.cjs +3 -2
- package/lib/common/grid-setting/grid-setting.cjs +2 -1
- package/lib/common/index.cjs +2 -0
- package/lib/common/pagination/pagination.cjs +2 -1
- package/lib/common/quick-edit/quick-edit.cjs +118 -0
- package/lib/common/quick-edit/quick-edit.css +1 -0
- package/lib/common/rawitem/rawitem.cjs +2 -1
- package/lib/control/app-menu/app-menu.cjs +1 -1
- package/lib/control/app-menu/custom-menu-design/custom-menu-design.cjs +1 -1
- package/lib/control/app-menu-icon-view/app-menu-icon-view.cjs +3 -2
- package/lib/control/calendar/calendar.cjs +2 -1
- package/lib/control/calendar/components/calendar-daily/calendar-daily.cjs +2 -1
- package/lib/control/calendar/components/calendar-week/calendar-week.cjs +2 -1
- package/lib/control/calendar/components/custom-calendar/custom-calendar.cjs +3 -2
- package/lib/control/chart/chart.cjs +8 -0
- package/lib/control/context-menu/context-menu.cjs +4 -3
- package/lib/control/dashboard/custom-dashboard-container/custom-dashboard-container.cjs +2 -1
- package/lib/control/dashboard/dashboard-design/dashboard-design.cjs +5 -4
- package/lib/control/dashboard/portlet/menu-portlet/app-menu-portlet/app-menu-portlet.cjs +3 -2
- package/lib/control/dashboard/portlet/portlet-layout/portlet-layout.cjs +2 -1
- package/lib/control/drtab/drtab-control.util.cjs +1 -1
- package/lib/control/drtab/drtab.cjs +2 -1
- package/lib/control/form/form-detail/form-button/form-button.cjs +2 -1
- package/lib/control/form/form-detail/form-item/form-item-container/form-item-container.cjs +3 -2
- package/lib/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-grid/repeater-grid.cjs +1 -1
- package/lib/control/form/form-detail/form-mdctrl/mdctrl-container/mdctrl-container.cjs +2 -1
- package/lib/control/form/form-detail/form-mdctrl/mdctrl-container2/mdctrl-container2.cjs +2 -1
- package/lib/control/grid/grid/grid-control.util.cjs +9 -72
- package/lib/control/grid/grid/grid.cjs +1 -7
- package/lib/control/grid/grid/grid.css +1 -1
- package/lib/control/grid/grid-column/grid-field-column/grid-field-column.cjs +3 -2
- package/lib/control/kanban/kanban.cjs +1 -1
- package/lib/control/list/list.cjs +2 -1
- package/lib/control/report-panel/report-panel.cjs +5 -0
- package/lib/control/search-bar/search-bar.cjs +3 -2
- package/lib/control/search-bar/search-groups/search-groups.cjs +5 -5
- package/lib/control/toolbar/export-excel/export-excel.cjs +3 -2
- package/lib/control/toolbar/short-cut-button/short-cut-button.cjs +2 -4
- package/lib/control/toolbar/toolbar.cjs +150 -13
- package/lib/control/toolbar/toolbar.css +1 -1
- package/lib/control/tree-grid-ex/tree-grid-ex-column/tree-grid-ex-field-column/tree-grid-ex-field-column.cjs +3 -2
- package/lib/control/wizard-panel/wizard-panel.cjs +2 -1
- package/lib/editor/array/ibiz-array/ibiz-array.cjs +12 -3
- package/lib/editor/autocomplete/ibiz-autocomplete/ibiz-autocomplete.cjs +2 -1
- package/lib/editor/data-picker/ibiz-mpicker/ibiz-mpicker.cjs +2 -1
- package/lib/editor/data-picker/ibiz-picker/ibiz-picker.cjs +2 -1
- package/lib/editor/data-picker/ibiz-picker-dropdown/ibiz-picker-dropdown.cjs +2 -1
- package/lib/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.cjs +9 -4
- package/lib/editor/dropdown-list/ibiz-emoji-picker/ibiz-emoji-picker.cjs +1 -8
- package/lib/editor/html/html-editor.controller.cjs +169 -6
- package/lib/editor/html/wang-editor/component/emoji/emoji.cjs +44 -0
- package/lib/editor/html/wang-editor/component/emoji/emoji.css +1 -0
- package/lib/editor/html/wang-editor/component/index.cjs +7 -0
- package/lib/editor/html/wang-editor/element/emoji.cjs +24 -0
- package/lib/editor/html/wang-editor/element/index.cjs +7 -0
- package/lib/editor/html/wang-editor/index.cjs +19 -0
- package/lib/editor/html/wang-editor/module/ai-module.cjs +78 -0
- package/lib/editor/html/wang-editor/module/emoji-module.cjs +127 -0
- package/lib/editor/html/wang-editor/module/index.cjs +9 -0
- package/lib/editor/html/wang-editor/plugin/index.cjs +7 -0
- package/lib/editor/html/wang-editor/plugin/plugin.cjs +25 -0
- package/lib/editor/html/wang-editor/wang-editor.cjs +7 -7
- package/lib/editor/html/wang-editor/wang-editor.css +1 -1
- package/lib/editor/number-range/ibiz-number-range-picker/ibiz-number-range-picker.cjs +10 -3
- package/lib/editor/span/span/span.cjs +1 -1
- package/lib/editor/text-box/ibiz-input-number/ibiz-input-number.cjs +5 -2
- package/lib/editor/text-box/input/input.cjs +16 -3
- package/lib/editor/user/ibiz-searchcond-edit/ibiz-searchcond-edit.cjs +2 -1
- package/lib/index.cjs +2 -0
- package/lib/locale/en/index.cjs +2 -1
- package/lib/locale/zh-CN/index.cjs +2 -1
- package/lib/node_modules/.pnpm/snabbdom@3.5.1/node_modules/snabbdom/build/h.cjs +93 -0
- package/lib/node_modules/.pnpm/snabbdom@3.5.1/node_modules/snabbdom/build/helpers/attachto.cjs +49 -0
- package/lib/node_modules/.pnpm/snabbdom@3.5.1/node_modules/snabbdom/build/hooks.cjs +2 -0
- package/lib/node_modules/.pnpm/snabbdom@3.5.1/node_modules/snabbdom/build/htmldomapi.cjs +117 -0
- package/lib/node_modules/.pnpm/snabbdom@3.5.1/node_modules/snabbdom/build/index.cjs +42 -0
- package/lib/node_modules/.pnpm/snabbdom@3.5.1/node_modules/snabbdom/build/init.cjs +378 -0
- package/lib/node_modules/.pnpm/snabbdom@3.5.1/node_modules/snabbdom/build/is.cjs +12 -0
- package/lib/node_modules/.pnpm/snabbdom@3.5.1/node_modules/snabbdom/build/jsx.cjs +67 -0
- package/lib/node_modules/.pnpm/snabbdom@3.5.1/node_modules/snabbdom/build/modules/attributes.cjs +61 -0
- package/lib/node_modules/.pnpm/snabbdom@3.5.1/node_modules/snabbdom/build/modules/class.cjs +30 -0
- package/lib/node_modules/.pnpm/snabbdom@3.5.1/node_modules/snabbdom/build/modules/dataset.cjs +44 -0
- package/lib/node_modules/.pnpm/snabbdom@3.5.1/node_modules/snabbdom/build/modules/eventlisteners.cjs +87 -0
- package/lib/node_modules/.pnpm/snabbdom@3.5.1/node_modules/snabbdom/build/modules/props.cjs +26 -0
- package/lib/node_modules/.pnpm/snabbdom@3.5.1/node_modules/snabbdom/build/modules/style.cjs +117 -0
- package/lib/node_modules/.pnpm/snabbdom@3.5.1/node_modules/snabbdom/build/thunk.cjs +54 -0
- package/lib/node_modules/.pnpm/snabbdom@3.5.1/node_modules/snabbdom/build/tovnode.cjs +64 -0
- package/lib/node_modules/.pnpm/snabbdom@3.5.1/node_modules/snabbdom/build/vnode.cjs +8 -0
- package/lib/panel-component/auth-captcha/auth-captcha.cjs +2 -1
- package/lib/panel-component/panel-button/panel-button.cjs +2 -1
- package/lib/panel-component/short-cut/short-cut.cjs +1 -1
- package/lib/panel-component/user-action/user-action.cjs +2 -1
- package/lib/panel-component/user-message/async-action/async-action/async-action.cjs +2 -1
- package/lib/panel-component/user-message/internal-message/common/internal-message-container/internal-message-container.cjs +2 -1
- package/lib/panel-component/user-message/internal-message/internal-message-html/internal-message-html.cjs +9 -3
- package/lib/panel-component/user-message/user-message.cjs +3 -2
- package/lib/util/index.cjs +2 -0
- package/lib/util/notification-util/notification-util.cjs +3 -1
- package/lib/util/wang-editor-util/wang-editor-util.cjs +14 -0
- package/package.json +7 -6
- package/dist/chart-HuCq_rW2.js +0 -1
- package/dist/index-Dq21zXhV.js +0 -4
- package/dist/wang-editor-XpJH4SXt.js +0 -1
- package/es/editor/html/wang-editor/ai/ai-modules.d.ts +0 -10
- package/es/editor/html/wang-editor/ai/ai-modules.mjs +0 -32
- package/lib/editor/html/wang-editor/ai/ai-modules.cjs +0 -34
- /package/es/node_modules/.pnpm/{@ibiz-template_core@0.7.27_axios@1.6.8_lodash-es@4.17.21_qs@6.11.2_qx-util@0.4.8_ramda@0.29.1 → @ibiz-template_core@0.7.28-alpha.1_axios@1.6.8_lodash-es@4.17.21_qs@6.11.2_qx-util@0.4.8_ramda@0.29.1}/node_modules/@ibiz-template/core/out/utils/namespace/namespace.mjs +0 -0
- /package/lib/node_modules/.pnpm/{@ibiz-template_core@0.7.27_axios@1.6.8_lodash-es@4.17.21_qs@6.11.2_qx-util@0.4.8_ramda@0.29.1 → @ibiz-template_core@0.7.28-alpha.1_axios@1.6.8_lodash-es@4.17.21_qs@6.11.2_qx-util@0.4.8_ramda@0.29.1}/node_modules/@ibiz-template/core/out/utils/namespace/namespace.cjs +0 -0
|
@@ -69,14 +69,12 @@ const IBizHtml = /* @__PURE__ */ defineComponent({
|
|
|
69
69
|
return url;
|
|
70
70
|
};
|
|
71
71
|
const toolbarConfig = {
|
|
72
|
-
excludeKeys: ["group-video"]
|
|
73
|
-
|
|
74
|
-
if (c.chatCompletion) {
|
|
75
|
-
toolbarConfig.insertKeys = {
|
|
72
|
+
excludeKeys: ["group-video", "emotion"],
|
|
73
|
+
insertKeys: {
|
|
76
74
|
index: 60,
|
|
77
|
-
keys: ["|", "aichart"]
|
|
78
|
-
}
|
|
79
|
-
}
|
|
75
|
+
keys: c.chatCompletion ? ["emoji", "|", "aichart"] : ["emoji"]
|
|
76
|
+
}
|
|
77
|
+
};
|
|
80
78
|
const editorConfig = {
|
|
81
79
|
placeholder: c.placeHolder,
|
|
82
80
|
readOnly: hasEnableEdit.value ? readonlyState.value : props.readonly,
|
|
@@ -228,6 +226,7 @@ const IBizHtml = /* @__PURE__ */ defineComponent({
|
|
|
228
226
|
};
|
|
229
227
|
const handleCreated = (editor) => {
|
|
230
228
|
editorRef.value = editor;
|
|
229
|
+
c.onCreated(editorRef.value);
|
|
231
230
|
editor.setHtml(valueHtml.value);
|
|
232
231
|
editor.on("aiClick", () => {
|
|
233
232
|
onClickAI();
|
|
@@ -472,6 +471,7 @@ const IBizHtml = /* @__PURE__ */ defineComponent({
|
|
|
472
471
|
calcHtmlStyle();
|
|
473
472
|
});
|
|
474
473
|
onUnmounted(() => {
|
|
474
|
+
c.onDestroyed();
|
|
475
475
|
if (resizeObserver) {
|
|
476
476
|
resizeObserver.disconnect();
|
|
477
477
|
}
|
|
@@ -29,7 +29,7 @@ export declare const IBizNumberRangePicker: import("vue").DefineComponent<{
|
|
|
29
29
|
refFormItem: Ref<string[]>;
|
|
30
30
|
minValue: Ref<number | null>;
|
|
31
31
|
maxValue: Ref<number | null>;
|
|
32
|
-
handleChange: (value: number, index: number) => void;
|
|
32
|
+
handleChange: (value: number, index: number, eventName?: string) => void;
|
|
33
33
|
max: number;
|
|
34
34
|
min: number;
|
|
35
35
|
precision: number;
|
|
@@ -75,20 +75,25 @@ const IBizNumberRangePicker = /* @__PURE__ */ defineComponent({
|
|
|
75
75
|
}, 100);
|
|
76
76
|
}
|
|
77
77
|
};
|
|
78
|
-
const
|
|
78
|
+
const onEmit = (eventName, value, valueName) => {
|
|
79
|
+
if (eventName === c.triggerMode) {
|
|
80
|
+
emit("change", value, valueName);
|
|
81
|
+
}
|
|
82
|
+
};
|
|
83
|
+
const handleChange = (value, index, eventName = "blur") => {
|
|
79
84
|
if (index === 0) {
|
|
80
85
|
minValue.value = value;
|
|
81
86
|
} else if (index === 1) {
|
|
82
87
|
maxValue.value = value;
|
|
83
88
|
}
|
|
84
89
|
if (minValue.value !== null && maxValue.value !== null) {
|
|
85
|
-
|
|
90
|
+
onEmit(eventName, [minValue.value, maxValue.value].join(valueSeparator));
|
|
86
91
|
setEditable(false);
|
|
87
92
|
useInValueChange();
|
|
88
93
|
}
|
|
89
94
|
if (refFormItem.value) {
|
|
90
95
|
const valueName = refFormItem.value[index];
|
|
91
|
-
|
|
96
|
+
onEmit(eventName, value, valueName);
|
|
92
97
|
useInValueChange();
|
|
93
98
|
}
|
|
94
99
|
};
|
|
@@ -154,6 +159,7 @@ const IBizNumberRangePicker = /* @__PURE__ */ defineComponent({
|
|
|
154
159
|
"placeholder": this.startPlaceHolder,
|
|
155
160
|
"controls": false,
|
|
156
161
|
"onChange": (val) => this.handleChange(val, 0),
|
|
162
|
+
"onInput": (val) => this.handleChange(val, 0, "input"),
|
|
157
163
|
"onKeyup": this.handleKeyUp,
|
|
158
164
|
"onFocus": this.onFocus,
|
|
159
165
|
"onBlur": this.onBlur
|
|
@@ -169,6 +175,7 @@ const IBizNumberRangePicker = /* @__PURE__ */ defineComponent({
|
|
|
169
175
|
"placeholder": this.endPlaceHolder,
|
|
170
176
|
"controls": false,
|
|
171
177
|
"onChange": (val) => this.handleChange(val, 1),
|
|
178
|
+
"onInput": (val) => this.handleChange(val, 1, "input"),
|
|
172
179
|
"onKeyup": this.handleKeyUp,
|
|
173
180
|
"onFocus": this.onFocus,
|
|
174
181
|
"onBlur": this.onBlur
|
|
@@ -2,7 +2,7 @@ import { ref, watch, computed, resolveComponent, createVNode, defineComponent }
|
|
|
2
2
|
import { getSpanProps, useNamespace, useCodeListListen, useFocusAndBlur } from '@ibiz-template/vue3-util';
|
|
3
3
|
import './span.css';
|
|
4
4
|
import { isNil } from 'ramda';
|
|
5
|
-
import { DataTypes,
|
|
5
|
+
import { DataTypes, isEmoji, base64ToStr } from '@ibiz-template/core';
|
|
6
6
|
import dayjs from 'dayjs';
|
|
7
7
|
import customParseFormat from 'dayjs/plugin/customParseFormat';
|
|
8
8
|
|
|
@@ -74,7 +74,7 @@ const IBizSpan = /* @__PURE__ */ defineComponent({
|
|
|
74
74
|
text.value = "".concat(newVal);
|
|
75
75
|
ibiz.log.error("".concat(newVal, " \u503C\u683C\u5F0F\u5316\u9519\u8BEF"));
|
|
76
76
|
}
|
|
77
|
-
} else if (
|
|
77
|
+
} else if (isEmoji("".concat(newVal))) {
|
|
78
78
|
text.value = base64ToStr("".concat(newVal));
|
|
79
79
|
} else {
|
|
80
80
|
text.value = "".concat(newVal);
|
|
@@ -26,7 +26,7 @@ export declare const IBizInputNumber: import("vue").DefineComponent<{
|
|
|
26
26
|
ns: import("@ibiz-template/core").Namespace;
|
|
27
27
|
c: TextBoxEditorController;
|
|
28
28
|
currentVal: import("vue").Ref<string | number | null>;
|
|
29
|
-
handleChange: (e: number | null) => void;
|
|
29
|
+
handleChange: (e: number | null, eventName?: string) => void;
|
|
30
30
|
onFocus: (e: IData) => void;
|
|
31
31
|
onBlur: (e: IData) => void;
|
|
32
32
|
editorRef: import("vue").Ref<any>;
|
|
@@ -81,8 +81,10 @@ const IBizInputNumber = /* @__PURE__ */ defineComponent({
|
|
|
81
81
|
}, 100);
|
|
82
82
|
}
|
|
83
83
|
};
|
|
84
|
-
const handleChange = (e) => {
|
|
85
|
-
|
|
84
|
+
const handleChange = (e, eventName = "blur") => {
|
|
85
|
+
if (eventName === c.triggerMode) {
|
|
86
|
+
emit("change", e);
|
|
87
|
+
}
|
|
86
88
|
};
|
|
87
89
|
watch(editorRef, (newVal) => {
|
|
88
90
|
if (props.autoFocus && newVal) {
|
|
@@ -164,6 +166,7 @@ const IBizInputNumber = /* @__PURE__ */ defineComponent({
|
|
|
164
166
|
"disabled": this.disabled,
|
|
165
167
|
"controls": false,
|
|
166
168
|
"onChange": this.handleChange,
|
|
169
|
+
"onInput": (value) => this.handleChange(value, "input"),
|
|
167
170
|
"onFocus": this.onFocus,
|
|
168
171
|
"onBlur": this.onBlur,
|
|
169
172
|
"onKeyup": this.handleKeyUp
|
|
@@ -65,6 +65,7 @@ export declare const IBizInput: import("vue").DefineComponent<{
|
|
|
65
65
|
currentVal: import("vue").Ref<string>;
|
|
66
66
|
readonlyText: import("vue").ComputedRef<string>;
|
|
67
67
|
handleChange: (val: string | number) => void;
|
|
68
|
+
handleInput: (val: string | number) => void;
|
|
68
69
|
handleKeyUp: (e: KeyboardEvent) => void;
|
|
69
70
|
onBlur: (event: IData) => void;
|
|
70
71
|
onFocus: (e: IData) => void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { isVNode, ref, computed, watch, onUnmounted, resolveComponent, createVNode, mergeProps, defineComponent } from 'vue';
|
|
2
2
|
import { getInputProps, getEditorEmits, useNamespace, useCodeListListen } from '@ibiz-template/vue3-util';
|
|
3
|
-
import {
|
|
3
|
+
import { isEmoji, base64ToStr } from '@ibiz-template/core';
|
|
4
4
|
import { createUUID } from 'qx-util';
|
|
5
5
|
import './input.css';
|
|
6
6
|
|
|
@@ -58,7 +58,7 @@ const IBizInput = /* @__PURE__ */ defineComponent({
|
|
|
58
58
|
if (newVal !== oldVal) {
|
|
59
59
|
if (newVal == null) {
|
|
60
60
|
currentVal.value = "";
|
|
61
|
-
} else if (
|
|
61
|
+
} else if (isEmoji("".concat(newVal))) {
|
|
62
62
|
currentVal.value = base64ToStr("".concat(newVal));
|
|
63
63
|
} else {
|
|
64
64
|
currentVal.value = newVal.toString();
|
|
@@ -73,6 +73,11 @@ const IBizInput = /* @__PURE__ */ defineComponent({
|
|
|
73
73
|
}
|
|
74
74
|
return "";
|
|
75
75
|
});
|
|
76
|
+
const onEmit = (val, eventName = "blur") => {
|
|
77
|
+
if (eventName === c.triggerMode) {
|
|
78
|
+
emit("change", val);
|
|
79
|
+
}
|
|
80
|
+
};
|
|
76
81
|
const setEditable = (flag) => {
|
|
77
82
|
if (flag) {
|
|
78
83
|
isEditable.value = flag;
|
|
@@ -85,7 +90,13 @@ const IBizInput = /* @__PURE__ */ defineComponent({
|
|
|
85
90
|
let blurCacheValue;
|
|
86
91
|
const handleChange = (val) => {
|
|
87
92
|
if (blurCacheValue !== val) {
|
|
88
|
-
|
|
93
|
+
onEmit(val);
|
|
94
|
+
}
|
|
95
|
+
blurCacheValue = void 0;
|
|
96
|
+
};
|
|
97
|
+
const handleInput = (val) => {
|
|
98
|
+
if (blurCacheValue !== val) {
|
|
99
|
+
onEmit(val, "input");
|
|
89
100
|
}
|
|
90
101
|
blurCacheValue = void 0;
|
|
91
102
|
};
|
|
@@ -98,7 +109,7 @@ const IBizInput = /* @__PURE__ */ defineComponent({
|
|
|
98
109
|
const onBlur = (event) => {
|
|
99
110
|
blurCacheValue = event.target.value;
|
|
100
111
|
if (blurCacheValue != props.value) {
|
|
101
|
-
|
|
112
|
+
onEmit(blurCacheValue);
|
|
102
113
|
}
|
|
103
114
|
emit("blur", event);
|
|
104
115
|
setEditable(false);
|
|
@@ -237,6 +248,7 @@ const IBizInput = /* @__PURE__ */ defineComponent({
|
|
|
237
248
|
currentVal,
|
|
238
249
|
readonlyText,
|
|
239
250
|
handleChange,
|
|
251
|
+
handleInput,
|
|
240
252
|
handleKeyUp,
|
|
241
253
|
onBlur,
|
|
242
254
|
onFocus,
|
|
@@ -304,6 +316,7 @@ const IBizInput = /* @__PURE__ */ defineComponent({
|
|
|
304
316
|
"minlength": this.c.model.minLength,
|
|
305
317
|
"show-word-limit": this.showLimit && this.c.model.showMaxLength,
|
|
306
318
|
"onChange": this.handleChange,
|
|
319
|
+
"onInput": this.handleInput,
|
|
307
320
|
"onKeyup": this.handleKeyUp,
|
|
308
321
|
"onBlur": this.onBlur,
|
|
309
322
|
"onFocus": this.onFocus,
|
|
@@ -3,6 +3,7 @@ import { getInputProps, getEditorEmits, useNamespace } from '@ibiz-template/vue3
|
|
|
3
3
|
import './ibiz-searchcond-edit.css';
|
|
4
4
|
import { isNilOrEmpty } from 'qx-util';
|
|
5
5
|
import { getOriginFilterNodes, SearchCondEx2filterNode, calcSearchCondExs } from '@ibiz-template/runtime';
|
|
6
|
+
import { showTitle } from '@ibiz-template/core';
|
|
6
7
|
|
|
7
8
|
"use strict";
|
|
8
9
|
const IBizSearchCondEdit = /* @__PURE__ */ defineComponent({
|
|
@@ -165,7 +166,7 @@ const IBizSearchCondEdit = /* @__PURE__ */ defineComponent({
|
|
|
165
166
|
}, this.$attrs), null), createVNode(resolveComponent("el-button"), {
|
|
166
167
|
"ref": "filterButtonRef",
|
|
167
168
|
"type": "primary",
|
|
168
|
-
"title": ibiz.
|
|
169
|
+
"title": showTitle(ibiz.i18n.t("app.edit")),
|
|
169
170
|
"class": this.ns.b("filter"),
|
|
170
171
|
"onClick": () => this.triggerFilter()
|
|
171
172
|
}, {
|
package/es/index.mjs
CHANGED
|
@@ -124,6 +124,7 @@ export { usePagination } from './util/pagination/use-pagination.mjs';
|
|
|
124
124
|
export { NoticeUtil } from './util/notice-util/notice-util.mjs';
|
|
125
125
|
export { RenderUtil } from './util/render-util/render-util.mjs';
|
|
126
126
|
export { AppUtil } from './util/app-util/app-util.mjs';
|
|
127
|
+
export { parseHtml } from './util/wang-editor-util/wang-editor-util.mjs';
|
|
127
128
|
export { AuthGuard } from './web-app/guard/auth-guard/auth-guard.mjs';
|
|
128
129
|
export { runApp } from './web-app/main.mjs';
|
|
129
130
|
export { AppRouter } from './web-app/router/index.mjs';
|
package/es/locale/en/index.d.ts
CHANGED
package/es/locale/en/index.mjs
CHANGED
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import { vnode } from './vnode.mjs';
|
|
2
|
+
import { array, primitive } from './is.mjs';
|
|
3
|
+
|
|
4
|
+
function addNS(data, children, sel) {
|
|
5
|
+
data.ns = "http://www.w3.org/2000/svg";
|
|
6
|
+
if (sel !== "foreignObject" && children !== undefined) {
|
|
7
|
+
for (let i = 0; i < children.length; ++i) {
|
|
8
|
+
const child = children[i];
|
|
9
|
+
if (typeof child === "string")
|
|
10
|
+
continue;
|
|
11
|
+
const childData = child.data;
|
|
12
|
+
if (childData !== undefined) {
|
|
13
|
+
addNS(childData, child.children, child.sel);
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
function h(sel, b, c) {
|
|
19
|
+
let data = {};
|
|
20
|
+
let children;
|
|
21
|
+
let text;
|
|
22
|
+
let i;
|
|
23
|
+
if (c !== undefined) {
|
|
24
|
+
if (b !== null) {
|
|
25
|
+
data = b;
|
|
26
|
+
}
|
|
27
|
+
if (array(c)) {
|
|
28
|
+
children = c;
|
|
29
|
+
}
|
|
30
|
+
else if (primitive(c)) {
|
|
31
|
+
text = c.toString();
|
|
32
|
+
}
|
|
33
|
+
else if (c && c.sel) {
|
|
34
|
+
children = [c];
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
else if (b !== undefined && b !== null) {
|
|
38
|
+
if (array(b)) {
|
|
39
|
+
children = b;
|
|
40
|
+
}
|
|
41
|
+
else if (primitive(b)) {
|
|
42
|
+
text = b.toString();
|
|
43
|
+
}
|
|
44
|
+
else if (b && b.sel) {
|
|
45
|
+
children = [b];
|
|
46
|
+
}
|
|
47
|
+
else {
|
|
48
|
+
data = b;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
if (children !== undefined) {
|
|
52
|
+
for (i = 0; i < children.length; ++i) {
|
|
53
|
+
if (primitive(children[i]))
|
|
54
|
+
children[i] = vnode(undefined, undefined, undefined, children[i], undefined);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
if (sel[0] === "s" &&
|
|
58
|
+
sel[1] === "v" &&
|
|
59
|
+
sel[2] === "g" &&
|
|
60
|
+
(sel.length === 3 || sel[3] === "." || sel[3] === "#")) {
|
|
61
|
+
addNS(data, children, sel);
|
|
62
|
+
}
|
|
63
|
+
return vnode(sel, data, children, text, undefined);
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* @experimental
|
|
67
|
+
*/
|
|
68
|
+
function fragment(children) {
|
|
69
|
+
let c;
|
|
70
|
+
let text;
|
|
71
|
+
if (array(children)) {
|
|
72
|
+
c = children;
|
|
73
|
+
}
|
|
74
|
+
else if (primitive(c)) {
|
|
75
|
+
text = children;
|
|
76
|
+
}
|
|
77
|
+
else if (c && c.sel) {
|
|
78
|
+
c = [children];
|
|
79
|
+
}
|
|
80
|
+
if (c !== undefined) {
|
|
81
|
+
for (let i = 0; i < c.length; ++i) {
|
|
82
|
+
if (primitive(c[i]))
|
|
83
|
+
c[i] = vnode(undefined, undefined, undefined, c[i], undefined);
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
return vnode(undefined, {}, c, text, undefined);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
export { addNS, fragment, h };
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
function pre(vnode, newVnode) {
|
|
2
|
+
const attachData = vnode.data.attachData;
|
|
3
|
+
// Copy created placeholder and real element from old vnode
|
|
4
|
+
newVnode.data.attachData.placeholder = attachData.placeholder;
|
|
5
|
+
newVnode.data.attachData.real = attachData.real;
|
|
6
|
+
// Mount real element in vnode so the patch process operates on it
|
|
7
|
+
vnode.elm = vnode.data.attachData.real;
|
|
8
|
+
}
|
|
9
|
+
function post(_, vnode) {
|
|
10
|
+
// Mount dummy placeholder in vnode so potential reorders use it
|
|
11
|
+
vnode.elm = vnode.data.attachData.placeholder;
|
|
12
|
+
}
|
|
13
|
+
function destroy(vnode) {
|
|
14
|
+
// Remove placeholder
|
|
15
|
+
if (vnode.elm !== undefined) {
|
|
16
|
+
vnode.elm.parentNode.removeChild(vnode.elm);
|
|
17
|
+
}
|
|
18
|
+
// Remove real element from where it was inserted
|
|
19
|
+
vnode.elm = vnode.data.attachData.real;
|
|
20
|
+
}
|
|
21
|
+
function create(_, vnode) {
|
|
22
|
+
const real = vnode.elm;
|
|
23
|
+
const attachData = vnode.data.attachData;
|
|
24
|
+
const placeholder = document.createElement("span");
|
|
25
|
+
// Replace actual element with dummy placeholder
|
|
26
|
+
// Snabbdom will then insert placeholder instead
|
|
27
|
+
vnode.elm = placeholder;
|
|
28
|
+
attachData.target.appendChild(real);
|
|
29
|
+
attachData.real = real;
|
|
30
|
+
attachData.placeholder = placeholder;
|
|
31
|
+
}
|
|
32
|
+
function attachTo(target, vnode) {
|
|
33
|
+
if (vnode.data === undefined)
|
|
34
|
+
vnode.data = {};
|
|
35
|
+
if (vnode.data.hook === undefined)
|
|
36
|
+
vnode.data.hook = {};
|
|
37
|
+
const data = vnode.data;
|
|
38
|
+
const hook = vnode.data.hook;
|
|
39
|
+
data.attachData = { target: target, placeholder: undefined, real: undefined };
|
|
40
|
+
hook.create = create;
|
|
41
|
+
hook.prepatch = pre;
|
|
42
|
+
hook.postpatch = post;
|
|
43
|
+
hook.destroy = destroy;
|
|
44
|
+
return vnode;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export { attachTo };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
function createElement(tagName, options) {
|
|
2
|
+
return document.createElement(tagName, options);
|
|
3
|
+
}
|
|
4
|
+
function createElementNS(namespaceURI, qualifiedName, options) {
|
|
5
|
+
return document.createElementNS(namespaceURI, qualifiedName, options);
|
|
6
|
+
}
|
|
7
|
+
function createDocumentFragment() {
|
|
8
|
+
return parseFragment(document.createDocumentFragment());
|
|
9
|
+
}
|
|
10
|
+
function createTextNode(text) {
|
|
11
|
+
return document.createTextNode(text);
|
|
12
|
+
}
|
|
13
|
+
function createComment(text) {
|
|
14
|
+
return document.createComment(text);
|
|
15
|
+
}
|
|
16
|
+
function insertBefore(parentNode, newNode, referenceNode) {
|
|
17
|
+
if (isDocumentFragment(parentNode)) {
|
|
18
|
+
let node = parentNode;
|
|
19
|
+
while (node && isDocumentFragment(node)) {
|
|
20
|
+
const fragment = parseFragment(node);
|
|
21
|
+
node = fragment.parent;
|
|
22
|
+
}
|
|
23
|
+
parentNode = node !== null && node !== void 0 ? node : parentNode;
|
|
24
|
+
}
|
|
25
|
+
if (isDocumentFragment(newNode)) {
|
|
26
|
+
newNode = parseFragment(newNode, parentNode);
|
|
27
|
+
}
|
|
28
|
+
if (referenceNode && isDocumentFragment(referenceNode)) {
|
|
29
|
+
referenceNode = parseFragment(referenceNode).firstChildNode;
|
|
30
|
+
}
|
|
31
|
+
parentNode.insertBefore(newNode, referenceNode);
|
|
32
|
+
}
|
|
33
|
+
function removeChild(node, child) {
|
|
34
|
+
node.removeChild(child);
|
|
35
|
+
}
|
|
36
|
+
function appendChild(node, child) {
|
|
37
|
+
if (isDocumentFragment(child)) {
|
|
38
|
+
child = parseFragment(child, node);
|
|
39
|
+
}
|
|
40
|
+
node.appendChild(child);
|
|
41
|
+
}
|
|
42
|
+
function parentNode(node) {
|
|
43
|
+
if (isDocumentFragment(node)) {
|
|
44
|
+
while (node && isDocumentFragment(node)) {
|
|
45
|
+
const fragment = parseFragment(node);
|
|
46
|
+
node = fragment.parent;
|
|
47
|
+
}
|
|
48
|
+
return node !== null && node !== void 0 ? node : null;
|
|
49
|
+
}
|
|
50
|
+
return node.parentNode;
|
|
51
|
+
}
|
|
52
|
+
function nextSibling(node) {
|
|
53
|
+
var _a;
|
|
54
|
+
if (isDocumentFragment(node)) {
|
|
55
|
+
const fragment = parseFragment(node);
|
|
56
|
+
const parent = parentNode(fragment);
|
|
57
|
+
if (parent && fragment.lastChildNode) {
|
|
58
|
+
const children = Array.from(parent.childNodes);
|
|
59
|
+
const index = children.indexOf(fragment.lastChildNode);
|
|
60
|
+
return (_a = children[index + 1]) !== null && _a !== void 0 ? _a : null;
|
|
61
|
+
}
|
|
62
|
+
return null;
|
|
63
|
+
}
|
|
64
|
+
return node.nextSibling;
|
|
65
|
+
}
|
|
66
|
+
function tagName(elm) {
|
|
67
|
+
return elm.tagName;
|
|
68
|
+
}
|
|
69
|
+
function setTextContent(node, text) {
|
|
70
|
+
node.textContent = text;
|
|
71
|
+
}
|
|
72
|
+
function getTextContent(node) {
|
|
73
|
+
return node.textContent;
|
|
74
|
+
}
|
|
75
|
+
function isElement(node) {
|
|
76
|
+
return node.nodeType === 1;
|
|
77
|
+
}
|
|
78
|
+
function isText(node) {
|
|
79
|
+
return node.nodeType === 3;
|
|
80
|
+
}
|
|
81
|
+
function isComment(node) {
|
|
82
|
+
return node.nodeType === 8;
|
|
83
|
+
}
|
|
84
|
+
function isDocumentFragment(node) {
|
|
85
|
+
return node.nodeType === 11;
|
|
86
|
+
}
|
|
87
|
+
function parseFragment(fragmentNode, parentNode) {
|
|
88
|
+
var _a, _b, _c;
|
|
89
|
+
const fragment = fragmentNode;
|
|
90
|
+
(_a = fragment.parent) !== null && _a !== void 0 ? _a : (fragment.parent = parentNode !== null && parentNode !== void 0 ? parentNode : null);
|
|
91
|
+
(_b = fragment.firstChildNode) !== null && _b !== void 0 ? _b : (fragment.firstChildNode = fragmentNode.firstChild);
|
|
92
|
+
(_c = fragment.lastChildNode) !== null && _c !== void 0 ? _c : (fragment.lastChildNode = fragmentNode.lastChild);
|
|
93
|
+
return fragment;
|
|
94
|
+
}
|
|
95
|
+
const htmlDomApi = {
|
|
96
|
+
createElement,
|
|
97
|
+
createElementNS,
|
|
98
|
+
createTextNode,
|
|
99
|
+
createDocumentFragment,
|
|
100
|
+
createComment,
|
|
101
|
+
insertBefore,
|
|
102
|
+
removeChild,
|
|
103
|
+
appendChild,
|
|
104
|
+
parentNode,
|
|
105
|
+
nextSibling,
|
|
106
|
+
tagName,
|
|
107
|
+
setTextContent,
|
|
108
|
+
getTextContent,
|
|
109
|
+
isElement,
|
|
110
|
+
isText,
|
|
111
|
+
isComment,
|
|
112
|
+
isDocumentFragment,
|
|
113
|
+
};
|
|
114
|
+
|
|
115
|
+
export { htmlDomApi };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export { htmlDomApi } from './htmldomapi.mjs';
|
|
2
|
+
export { init } from './init.mjs';
|
|
3
|
+
export { thunk } from './thunk.mjs';
|
|
4
|
+
export { vnode } from './vnode.mjs';
|
|
5
|
+
export { attachTo } from './helpers/attachto.mjs';
|
|
6
|
+
export { array, primitive } from './is.mjs';
|
|
7
|
+
export { toVNode } from './tovnode.mjs';
|
|
8
|
+
export { fragment, h } from './h.mjs';
|
|
9
|
+
import './hooks.mjs';
|
|
10
|
+
export { attributesModule } from './modules/attributes.mjs';
|
|
11
|
+
export { classModule } from './modules/class.mjs';
|
|
12
|
+
export { datasetModule } from './modules/dataset.mjs';
|
|
13
|
+
export { eventListenersModule } from './modules/eventlisteners.mjs';
|
|
14
|
+
export { propsModule } from './modules/props.mjs';
|
|
15
|
+
export { styleModule } from './modules/style.mjs';
|
|
16
|
+
export { Fragment, jsx } from './jsx.mjs';
|
|
17
|
+
|
|
18
|
+
// core
|