提交 ea2e0003 编写于 作者: tony001's avatar tony001

update:ibiz-core改成core

上级 3e9e958a
import { IParam } from "@ibiz-core";
import { IParam } from "@core";
export const AppViewConfig:IParam = {
{{#each app.pages as |appView|}}
......
import { OpenViewService } from "@/utils";
import { AppBase, IParam, ViewDetail, IApp, IOpenViewService, deepCopy } from "@ibiz-core";
import { AppBase, IParam, ViewDetail, IApp, IOpenViewService, deepCopy } from "@core";
import { AppFuncConfig } from './app-func-config';
import { AppViewConfig } from './app-view-config';
......
<script setup lang="ts">
import { onBeforeMount, Ref, ref } from "vue";
import { SearchOutlined } from '@ant-design/icons-vue';
import { deepCopy, IParam, IActionParam, EditorBase, IContext } from "@ibiz-core";
import { deepCopy, IParam, IActionParam, EditorBase, IContext } from "@core";
interface AutoCompleteProps {
/**
* @description 表单数据或表格行数据
......
<script setup lang="ts">
import { IActionParam } from "@ibiz-core";
import { IActionParam } from "@core";
import { computed, Ref } from "vue";
interface CheckboxProps {
/**
......
......@@ -4,7 +4,7 @@ import {
IActionParam,
IParam,
IContext
} from "@ibiz-core";
} from "@core";
import { computed, onBeforeMount, ref, Ref } from "vue";
interface CheckboxListProps {
/**
......
<script setup lang="ts">
import { onBeforeMount, Ref, ref } from 'vue';
import { SearchOutlined, ExportOutlined } from '@ant-design/icons-vue';
import { deepCopy, IParam, IActionParam, EditorBase, IContext } from '@ibiz-core';
import { deepCopy, IParam, IActionParam, EditorBase, IContext } from '@core';
interface DataPickerProps {
/**
* @description 编辑器名称
......
<script setup lang="ts">
import { onBeforeMount, Ref, ref } from 'vue';
import { SearchOutlined, ExportOutlined } from '@ant-design/icons-vue';
import { deepCopy, IParam, IActionParam, EditorBase, IContext } from '@ibiz-core';
import { deepCopy, IParam, IActionParam, EditorBase, IContext } from '@core';
interface DataPickerViewProps {
/**
* @description 编辑器名称
......
<script setup lang="ts">
import { IActionParam } from '@ibiz-core';
import { IActionParam } from '@core';
// import dayjs from 'ant-design-vue/lib/time-picker/dayjs';
import { computed, Ref } from 'vue';
import dayjs, { Dayjs } from 'dayjs';
......
<script setup lang="ts">
import { onBeforeMount, Ref, ref } from "vue";
import { IActionParam, IParam, typeOf, EditorBase, IContext } from "@ibiz-core";
import { IActionParam, IParam, typeOf, EditorBase, IContext } from "@core";
interface DropdownListProps {
/**
......
<script setup lang="ts">
import { IActionParam } from "@ibiz-core";
import { IActionParam } from "@core";
interface InputProps{
/**
* @description 编辑器名称
......
<script setup lang="ts">
import { IActionParam } from "@ibiz-core";
import { IActionParam } from "@core";
import { onBeforeMount, ref, Ref } from "vue";
interface InputIpProps{
/**
......
......@@ -4,7 +4,7 @@ import {
IParam,
EditorBase,
IContext
} from "@ibiz-core";
} from "@core";
import { onBeforeMount, ref, Ref } from "vue";
interface RadioGroupProps {
/**
......
<script setup lang="ts">
import { IActionParam, IParam } from "@ibiz-core";
import { IActionParam, IParam } from "@core";
interface RatingProps {
/**
* 传入值
......
<script setup lang="ts">
import { IActionParam } from "@ibiz-core";
import { IActionParam } from "@core";
interface RawProps {
/**
* @description 编辑器名称
......
<script setup lang="ts">
import { IActionParam } from "@ibiz-core";
import { IActionParam } from "@core";
interface sliderProps {
/**
* 传入值
......
<script setup lang="ts">
import { IParam, EditorBase, IContext } from "@ibiz-core";
import { IParam, EditorBase, IContext } from "@core";
import { onBeforeMount, ref, Ref } from "vue";
interface SpanProps {
/**
......
<script setup lang="ts">
import { IActionParam } from "@ibiz-core";
import { IActionParam } from "@core";
interface StepperProps {
/**
* 传入值
......
<script setup lang="ts">
import { IActionParam } from "@ibiz-core";
import { IActionParam } from "@core";
import { computed, Ref } from "vue";
interface SwitchProps {
/**
......
<script setup lang="ts">
import { EditorBase, IActionParam, IParam } from "@ibiz-core";
import { EditorBase, IActionParam, IParam } from "@core";
import { UploadOutlined, PlusOutlined } from '@ant-design/icons-vue';
import { ref, Ref } from "vue";
interface UploadProps {
......
<script setup lang="ts">
import { IActionParam } from "@ibiz-core";
import { IActionParam } from "@core";
interface FormGroupProps{
name: string;
......
<script setup lang="ts">
import { IActionParam } from "@ibiz-core";
import { IActionParam } from "@core";
interface FormGroupProps{
name: string;
......
<script setup lang="ts">
import { IParam } from "@ibiz-core";
import { IParam } from "@core";
interface Props{
width: number;
......
<script setup lang="ts">
import { IParam } from "@ibiz-core";
import { IParam } from "@core";
interface Props{
items: IParam[],
collapsed: boolean,
......
<script setup lang="ts">
import { IParam, IActionParam } from "@ibiz-core";
import { IParam, IActionParam } from "@core";
import { onBeforeMount, ref, Ref } from "vue";
interface ToolbarProps {
......
import { IContext, IParam } from '@ibiz-core';
import { IContext, IParam } from '@core';
import { AppBackendAction } from './app-backend-action';
import { AppFrontAction } from './app-front-action';
import { AppSysAction } from './app-sys-action';
......
import { AppFuncService, IApp, IAppFuncService, IOpenViewService, ViewDetail } from "@ibiz-core";
import { IParam } from "@ibiz-core/interface";
import { AppFuncService, IApp, IAppFuncService, IOpenViewService, ViewDetail } from "@core";
import { IParam } from "@core/interface";
/**
* 应用基类
......
import { IContext, IParam } from '@ibiz-core';
import { IContext, IParam } from '@core';
import { Ref } from 'vue';
import { deepCopy } from '../../utils';
......
import { toRefs } from 'vue';
import { UIUtil, IParam, useContextParams } from '@ibiz-core';
import { UIUtil, IParam, useContextParams } from '@core';
/**
* @description 部件基类
* @export
......
import { ViewBase, MainViewProps, MainViewState, IActionParam, IParam, AppUIAction } from '@ibiz-core';
import { ViewBase, MainViewProps, MainViewState, IActionParam, IParam, AppUIAction } from '@core';
/**
* 实体部件
......
import { Ref } from 'vue';
import { useRoute } from 'vue-router';
import { ViewPropsBase, ViewStateBase, toOneWayRef, IParam } from '@ibiz-core';
import { ViewPropsBase, ViewStateBase, toOneWayRef, IParam } from '@core';
/**
* @description 视图基类
......
import { ControlPropsBase, ControlStateBase, toOneWayRef } from '@ibiz-core';
import { ControlPropsBase, ControlStateBase, toOneWayRef } from '@core';
import { RouteLocationNormalizedLoaded, Router, useRoute, useRouter } from 'vue-router';
/**
......
import { deepCopy, FormControlProps, FormControlState, IActionParam, MainControl } from '@ibiz-core';
import { deepCopy, FormControlProps, FormControlState, IActionParam, MainControl } from '@core';
/**
* @description 表单部件
......
import { createUUID } from 'qx-util';
import { UIUtil, deepCopy, GridControlProps, GridControlState, IActionParam, IParam, MainControl } from '@ibiz-core';
import { UIUtil, deepCopy, GridControlProps, GridControlState, IActionParam, IParam, MainControl } from '@core';
/**
* @description 表格部件
......
import { Ref } from 'vue';
import { MenuControlProps, MenuControlState, IActionParam, ControlBase, IParam, AppFuncService, deepCopy } from '@ibiz-core';
import { MenuControlProps, MenuControlState, IActionParam, ControlBase, IParam, AppFuncService, deepCopy } from '@core';
/**
* @description 菜单部件
......
import { Ref, ref } from 'vue';
import { IActionParam, MainControl } from '@ibiz-core';
import { IActionParam, MainControl } from '@core';
import { PickupViewPanelControlProps } from './pickupviewpanel-control-prop';
import { PickupViewPanelControlState } from './pickupviewpanel-control-state';
......
import { ControlServiceBase, ControlVOBase, hasFunction, IParam } from '@ibiz-core';
import { ControlServiceBase, ControlVOBase, hasFunction, IParam } from '@core';
/**
* @description 表格部件服务
......
import { isExist } from '@ibiz-core';
import { isExist } from '@core';
import axios from 'axios';
import qs from 'qs';
import { Subject } from 'rxjs';
......
import { IApp } from "@ibiz-core";
import { IApp } from "@core";
declare global {
const App:IApp
......
<script setup lang="ts">
import { Subject } from 'rxjs'
import { Ref } from 'vue';
import { IndexView, IActionParam, IParam, IContext } from '@ibiz-core';
import { IndexView, IActionParam, IParam, IContext } from '@core';
import { ViewConfig } from './{{spinalCase page.codeName}}-config';
{{#page.ctrls}}
{{#eq controlType "APPMENU"}}
......
<script setup lang="ts">
import { Subject } from 'rxjs';
import { EditView, IActionParam, IParam, IContext } from '@ibiz-core';
import { EditView, IActionParam, IParam, IContext } from '@core';
import { ViewConfig } from './{{spinalCase page.codeName}}-config';
{{#page.ctrls}}
{{#eq controlType "FORM"}}
......
<script setup lang="ts">
import { Subject } from 'rxjs';
import { GridView, IActionParam, IParam, IContext } from '@ibiz-core';
import { GridView, IActionParam, IParam, IContext } from '@core';
import { ViewConfig } from './{{spinalCase page.codeName}}-config';
{{#page.ctrls}}
{{#eq controlType "GRID"}}
......
<script setup lang="ts">
import { Subject } from 'rxjs';
import { PickupGridView, IActionParam, IParam, IContext } from '@ibiz-core';
import { PickupGridView, IActionParam, IParam, IContext } from '@core';
import { ViewConfig } from './{{spinalCase page.codeName}}-config';
{{#page.ctrls}}
{{#eq controlType "GRID"}}
......
<script setup lang="ts">
import { Subject } from 'rxjs';
import { PickupView, IActionParam, IParam, IContext } from '@ibiz-core';
import { PickupView, IActionParam, IParam, IContext } from '@core';
import { ViewConfig } from './{{spinalCase page.codeName}}-config';
// props声明和默认值处理
......
import { Http, EntityService } from '@ibiz-core';
import { Http, EntityService } from '@core';
/**
* {{appEntity.logicName}}服务对象基类
......
import { Http, UIServiceBase } from '@ibiz-core';
import { Http, UIServiceBase } from '@core';
/**
* 系统UI服务对象基类
......
import { AppUIAction, IUIAction, UIServiceBase } from '@ibiz-core';
import { AppUIAction, IUIAction, UIServiceBase } from '@core';
/**
* {{appEntity.logicName}}UI服务对象基类
......
......@@ -2,7 +2,7 @@ import { Subject } from 'rxjs';
import Antd from 'ant-design-vue';
import AppModalComponent from "./app-modal.vue";
import IbizLoading from '@components/render/IbizLoading.vue';
import { IParam, ViewDetail } from '@ibiz-core';
import { IParam, ViewDetail } from '@core';
export class AppModal {
......
<script setup lang="ts">
import { IParam, ViewDetail } from '@ibiz-core';
import { IParam, ViewDetail } from '@core';
import { Subject } from 'rxjs';
import { Ref, ref } from 'vue';
interface AppModalProps {
......
import { IContext, IOpenViewService, IParam, RouteUtil, ViewDetail } from '@ibiz-core';
import { IContext, IOpenViewService, IParam, RouteUtil, ViewDetail } from '@core';
import router from '@/router';
import { AppModal } from '@/utils';
......
<script setup lang="ts">
import { Subject } from "rxjs";
import { CtrlConfig } from "./{{spinalCase ctrl.codeName}}-menu-config";
import { IParam, IActionParam, MenuControl, IContext } from "@ibiz-core";
import { IParam, IActionParam, MenuControl, IContext } from "@core";
interface Props{
context: IContext;
defaultView: string;
......
{{>@macro/form-detail/include-form.hbs}}
import { ControlVOBase, verifyRules, EditFormService } from '@ibiz-core';
import { ControlVOBase, verifyRules, EditFormService } from '@core';
import { {{pascalCase ctrl.psAppDataEntity.codeName}}Service } from '@service/entity/{{spinalCase ctrl.psAppDataEntity.codeName}}/{{spinalCase ctrl.psAppDataEntity.codeName}}-service';
/**
......
......@@ -2,7 +2,7 @@
<script setup lang="ts">
import { Subject } from 'rxjs';
import { CtrlConfig } from './{{spinalCase ctrl.codeName}}-form-config';
import { FormControl, IActionParam, IParam, ControlAction, IContext } from '@ibiz-core';
import { FormControl, IActionParam, IParam, ControlAction, IContext } from '@core';
interface Props {
context: IContext;
......
{{>@macro/grid-detail/include-grid.hbs}}
import { ControlVOBase, IParam, GridService } from '@ibiz-core';
import { ControlVOBase, IParam, GridService } from '@core';
import { {{pascalCase ctrl.psAppDataEntity.codeName}}Service } from '@service/entity/{{spinalCase ctrl.psAppDataEntity.codeName}}/{{spinalCase ctrl.psAppDataEntity.codeName}}-service';
export class ControlVO extends ControlVOBase {
......
......@@ -2,7 +2,7 @@
<script setup lang="ts">
import { Subject } from 'rxjs';
import { CtrlConfig } from './{{spinalCase ctrl.codeName}}-grid-config';
import { GridControl, IActionParam, IParam, IContext, ControlAction, deepCopy } from '@ibiz-core';
import { GridControl, IActionParam, IParam, IContext, ControlAction, deepCopy } from '@core';
interface Props {
context: IContext;
......
<script setup lang="ts">
import { Subject } from 'rxjs';
import { IActionParam, IParam, ControlAction, PickupViewPanelControl, IContext } from '@ibiz-core';
import { IActionParam, IParam, ControlAction, PickupViewPanelControl, IContext } from '@core';
import { CtrlConfig } from './{{ctrl.codeName.spinalCase}}-pickupviewpanel-config';
interface Props {
......
......@@ -13,8 +13,8 @@
"lib": ["esnext", "dom"],
"baseUrl": ".",
"paths": {
"@ibiz-core":["src/ibiz-core"],
"@ibiz-core/*":["src/ibiz-core/*"],
"@core":["src/core"],
"@core/*":["src/core/*"],
"@service":["src/service"],
"@service/*":["src/service/*"],
"@components":["src/components"],
......
......@@ -11,7 +11,7 @@ import { ElementPlusResolver } from 'unplugin-vue-components/resolvers'
export default defineConfig({
resolve: {
alias: {
'@ibiz-core': path.resolve(__dirname, 'src/ibiz-core'),
'@core': path.resolve(__dirname, 'src/core'),
'@service': path.resolve(__dirname, 'src/service'),
'@components': path.resolve(__dirname, 'src/components'),
'@views': path.resolve(__dirname, 'src/views'),
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册