Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@opentiny/vue-renderless

Package Overview
Dependencies
Maintainers
0
Versions
75
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opentiny/vue-renderless - npm Package Compare versions

Comparing version 3.18.6 to 3.18.7

types/form.type-e721a50f.d.ts

2

common/index.js

@@ -240,3 +240,3 @@ import "../chunk-G2ADBYYC.js";

};
const version = "3.18.6";
const version = "3.18.7";
const log = (data, type = "log") => {

@@ -243,0 +243,0 @@ uLog.logger[type](data);

@@ -25,3 +25,3 @@ import "../chunk-G2ADBYYC.js";

import * as common from ".";
const version = "3.18.6";
const version = "3.18.7";
const Renderless = {

@@ -28,0 +28,0 @@ browser,

{
"name": "@opentiny/vue-renderless",
"version": "3.18.6",
"version": "3.18.7",
"description": "An enterprise-class UI component library, support both Vue.js 2 and Vue.js 3, as well as PC and mobile.",

@@ -5,0 +5,0 @@ "author": "OpenTiny Team",

@@ -145,3 +145,3 @@ import "../chunk-G2ADBYYC.js";

};
const logicFun = ({ props, emit, state }) => ({ event, isAdd, pullMode }) => {
const logicFun = ({ props, emit, state, vm }) => ({ event, isAdd, pullMode }) => {
let currentValue = props.modelValue.slice();

@@ -152,3 +152,5 @@ let movedKeys = [];

} else {
const key = isAdd ? state.targetData[event.oldIndex][props.props.key] : state.sourceData[event.oldIndex][props.props.key];
const rightPanel = vm.$refs.rightPanel;
const leftPanel = vm.$refs.leftPanel;
const key = isAdd ? rightPanel.state.filteredData[event.oldIndex][props.props.key] : leftPanel.state.filteredData[event.oldIndex][props.props.key];
const index = isAdd ? state.rightChecked.indexOf(key) : state.leftChecked.indexOf(key);

@@ -155,0 +157,0 @@ const valueIndex = currentValue.indexOf(key);

@@ -37,3 +37,3 @@ import "../chunk-G2ADBYYC.js";

});
const renderless = (props, { computed, onMounted, reactive, h }, { $prefix, emit, refs, parent, slots }) => {
const renderless = (props, { computed, onMounted, reactive, h }, { $prefix, emit, refs, parent, slots, vm }) => {
const api2 = {};

@@ -55,3 +55,3 @@ const Tree = $prefix + "Tree";

onSourceCheckedChange: onSourceCheckedChange({ emit, state }),
logicFun: logicFun({ props, emit, state }),
logicFun: logicFun({ props, emit, state, vm }),
getTargetData: getTargetData({ props, state, Tree, Table }),

@@ -58,0 +58,0 @@ sortableEvent: sortableEvent({ api: api2, droppanel: DROPPANEL, props, queryDom: TRANSFERPANEL, refs })

@@ -9,3 +9,3 @@ import { CSSProperties, ExtractPropTypes } from 'vue';

};
modelValue: (StringConstructor | ArrayConstructor | NumberConstructor)[];
modelValue: (ArrayConstructor | StringConstructor | NumberConstructor)[];
beforeClose: FunctionConstructor;

@@ -49,3 +49,3 @@ visible: {

};
customClass: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
customClass: (ArrayConstructor | StringConstructor | ObjectConstructor)[];
contentClass: StringConstructor;

@@ -52,0 +52,0 @@ type: {

@@ -79,3 +79,3 @@ import { ExtractPropTypes, CSSProperties } from 'vue';

};
customClass: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
customClass: (ArrayConstructor | StringConstructor | ObjectConstructor)[];
offset: {

@@ -82,0 +82,0 @@ type: (StringConstructor | NumberConstructor)[];

@@ -23,7 +23,7 @@ import { ExtractPropTypes, ComputedRef } from 'vue';

modelValue: {
type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
type: (BooleanConstructor | StringConstructor | NumberConstructor)[];
default: undefined;
};
label: {
type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
type: (BooleanConstructor | StringConstructor | NumberConstructor)[];
default: string;

@@ -45,3 +45,3 @@ };

text: StringConstructor;
customClass: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
customClass: (ArrayConstructor | StringConstructor | ObjectConstructor)[];
validateEvent: {

@@ -48,0 +48,0 @@ type: BooleanConstructor;

@@ -27,3 +27,3 @@ import { ExtractPropTypes } from 'vue';

modelValue: {
type: (StringConstructor | ArrayConstructor | NumberConstructor)[];
type: (ArrayConstructor | StringConstructor | NumberConstructor)[];
default: () => never[];

@@ -30,0 +30,0 @@ };

@@ -20,3 +20,3 @@ import { ExtractPropTypes } from 'vue';

};
customClass: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
customClass: (ArrayConstructor | StringConstructor | ObjectConstructor)[];
placement: {

@@ -23,0 +23,0 @@ type: StringConstructor;

import 'vue';
export { C as IFileUploadAfterDownload, m as IFileUploadApi, D as IFileUploadBatchSegmentDownload, y as IFileUploadBatchSegmentUpload, a as IFileUploadConstants, w as IFileUploadDownloadFileInner, x as IFileUploadDownloadFileSingle, u as IFileUploadDownloadFileSingleInner, t as IFileUploadEdmDownload, s as IFileUploadFile, A as IFileUploadGetFormData, v as IFileUploadLargeDocumentDownload, r as IFileUploadModalVm, o as IFileUploadProps, p as IFileUploadRenderlessParamUtils, q as IFileUploadRenderlessParams, z as IFileUploadSegmentUploadInner, n as IFileUploadService, B as IFileUploadSetWriterFile, E as IFileUploadSliceDownloadChunk, l as IFileUploadState, F as IFileUploadStreamsaver, I as IFileUploadVm } from './upload-list.type-4194f534.js';
export { C as IFileUploadAfterDownload, m as IFileUploadApi, D as IFileUploadBatchSegmentDownload, y as IFileUploadBatchSegmentUpload, a as IFileUploadConstants, w as IFileUploadDownloadFileInner, x as IFileUploadDownloadFileSingle, u as IFileUploadDownloadFileSingleInner, t as IFileUploadEdmDownload, s as IFileUploadFile, A as IFileUploadGetFormData, v as IFileUploadLargeDocumentDownload, r as IFileUploadModalVm, o as IFileUploadProps, p as IFileUploadRenderlessParamUtils, q as IFileUploadRenderlessParams, z as IFileUploadSegmentUploadInner, n as IFileUploadService, B as IFileUploadSetWriterFile, E as IFileUploadSliceDownloadChunk, l as IFileUploadState, F as IFileUploadStreamsaver, I as IFileUploadVm } from './upload-list.type-36942775.js';
import './shared.type.js';
import 'vue';
export { i as IFormItemApi, f as IFormItemConstants, I as IFormItemDisplayedValueParam, k as IFormItemInstance, c as IFormItemLabelStyle, g as IFormItemProps, j as IFormItemRenderlessParamUtils, h as IFormItemRenderlessParams, d as IFormItemRule, e as IFormItemState, b as IFormItemTrigger, a as IFormItemValidateStatus } from './form.type-f6fb4c38.js';
export { i as IFormItemApi, f as IFormItemConstants, I as IFormItemDisplayedValueParam, k as IFormItemInstance, c as IFormItemLabelStyle, g as IFormItemProps, j as IFormItemRenderlessParamUtils, h as IFormItemRenderlessParams, d as IFormItemRule, e as IFormItemState, b as IFormItemTrigger, a as IFormItemValidateStatus } from './form.type-e721a50f.js';
import './shared.type.js';
import 'vue';
export { p as IFormApi, r as IFormInstance, n as IFormProps, q as IFormRenderlessParamUtils, o as IFormRenderlessParams, l as IFormRules, m as IFormState } from './form.type-f6fb4c38.js';
export { p as IFormApi, r as IFormInstance, n as IFormProps, q as IFormRenderlessParamUtils, o as IFormRenderlessParams, l as IFormRules, m as IFormState } from './form.type-e721a50f.js';
import './shared.type.js';

@@ -244,3 +244,3 @@ import { ComputedRef, ExtractPropTypes } from 'vue';

};
declare const calcTextareaHeight: ({ api, hiddenTextarea, props, state, mode, constants }: Pick<IInputRenderlessParams, "mode" | "props" | "state" | "api" | "constants"> & {
declare const calcTextareaHeight: ({ api, hiddenTextarea, props, state, mode, constants }: Pick<IInputRenderlessParams, "state" | "api" | "props" | "mode" | "constants"> & {
hiddenTextarea: HTMLTextAreaElement | null;

@@ -247,0 +247,0 @@ }) => (targetElement: HTMLTextAreaElement, minRows?: number, maxRows?: null) => {

@@ -72,3 +72,3 @@ import { ExtractPropTypes } from 'vue';

};
data: (ObjectConstructor | ArrayConstructor)[];
data: (ArrayConstructor | ObjectConstructor)[];
space: NumberConstructor;

@@ -75,0 +75,0 @@ start: {

@@ -49,3 +49,3 @@ import { PropType, ExtractPropTypes } from 'vue';

customTotal: {
type: (StringConstructor | BooleanConstructor)[];
type: (BooleanConstructor | StringConstructor)[];
default: () => boolean;

@@ -52,0 +52,0 @@ };

@@ -63,3 +63,3 @@ import * as vue from 'vue';

modelValue: {
type: (StringConstructor | ArrayConstructor | NumberConstructor)[];
type: (ArrayConstructor | StringConstructor | NumberConstructor)[];
default: string;

@@ -66,0 +66,0 @@ };

@@ -70,3 +70,3 @@ import { ExtractPropTypes } from 'vue';

};
listData: (ObjectConstructor | ArrayConstructor)[];
listData: (ArrayConstructor | ObjectConstructor)[];
genArrowByHtml: {

@@ -96,3 +96,3 @@ type: BooleanConstructor;

declare const mounted: ({ api, state, constants, props, nextTick, mode }: Pick<IPopoverRenderlessParams, "mode" | "props" | "state" | "api" | "nextTick"> & {
declare const mounted: ({ api, state, constants, props, nextTick, mode }: Pick<IPopoverRenderlessParams, "state" | "api" | "props" | "nextTick" | "mode"> & {
constants: {

@@ -99,0 +99,0 @@ IDPREFIX: string;

@@ -97,3 +97,3 @@ import { ExtractPropTypes } from 'vue';

color: {
type: (StringConstructor | FunctionConstructor | ArrayConstructor)[];
type: (ArrayConstructor | StringConstructor | FunctionConstructor)[];
default: string;

@@ -100,0 +100,0 @@ };

@@ -27,3 +27,3 @@ import { ExtractPropTypes } from 'vue';

valueStyle: {
type: (ObjectConstructor | ArrayConstructor)[];
type: (ArrayConstructor | ObjectConstructor)[];
};

@@ -30,0 +30,0 @@ groupSeparator: {

@@ -17,3 +17,3 @@ import { ExtractPropTypes } from 'vue';

};
data: (ObjectConstructor | ArrayConstructor)[];
data: (ArrayConstructor | ObjectConstructor)[];
space: (StringConstructor | NumberConstructor)[];

@@ -20,0 +20,0 @@ active: {

@@ -33,3 +33,3 @@ import { StyleValue, ExtractPropTypes } from 'vue';

falseValue: {
type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
type: (BooleanConstructor | StringConstructor | NumberConstructor)[];
default: boolean;

@@ -42,3 +42,3 @@ };

modelValue: {
type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
type: (BooleanConstructor | StringConstructor | NumberConstructor)[];
default: boolean;

@@ -53,3 +53,3 @@ };

trueValue: {
type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
type: (BooleanConstructor | StringConstructor | NumberConstructor)[];
default: boolean;

@@ -56,0 +56,0 @@ };

@@ -11,3 +11,3 @@ import { ExtractPropTypes } from 'vue';

color: {
type: (StringConstructor | ArrayConstructor)[];
type: (ArrayConstructor | StringConstructor)[];
default: string;

@@ -14,0 +14,0 @@ };

@@ -111,3 +111,3 @@ import { ExtractPropTypes } from 'vue';

/** 返回右边的数据项 */
declare const getTargetData: ({ props, state, Tree, Table }: Pick<ITransferRenderlessParams, "props" | "state"> & {
declare const getTargetData: ({ props, state, Tree, Table }: Pick<ITransferRenderlessParams, "state" | "props"> & {
Tree: string;

@@ -119,3 +119,3 @@ Table: string;

declare const addToLeft: ({ emit, props, state }: Pick<ITransferRenderlessParams, 'emit' | 'props' | 'state'>) => (value: undefined | 'all') => void;
declare const addToRight: ({ emit, refs, props, state, Tree }: Pick<ITransferRenderlessParams, "emit" | "props" | "state" | "refs"> & {
declare const addToRight: ({ emit, refs, props, state, Tree }: Pick<ITransferRenderlessParams, "state" | "props" | "refs" | "emit"> & {
Tree: string;

@@ -125,3 +125,3 @@ }) => (value: undefined | 'all') => void;

/** SortableJs 插件的回调逻辑, 添加,删除,更新事件后,触发本函数 */
declare const logicFun: ({ props, emit, state }: Pick<ITransferRenderlessParams, 'emit' | 'props' | 'state'>) => ({ event, isAdd, pullMode }: {
declare const logicFun: ({ props, emit, state, vm }: Pick<ITransferRenderlessParams, 'emit' | 'props' | 'state'>) => ({ event, isAdd, pullMode }: {
event: any;

@@ -132,3 +132,3 @@ isAdd?: boolean | undefined;

/** 组件加载后,给左右面板初始化Sortable的功能 */
declare const sortableEvent: ({ api, droppanel, props, queryDom, refs }: Pick<ITransferRenderlessParams, "props" | "api" | "refs"> & {
declare const sortableEvent: ({ api, droppanel, props, queryDom, refs }: Pick<ITransferRenderlessParams, "api" | "props" | "refs"> & {
droppanel: string;

@@ -135,0 +135,0 @@ queryDom: string;

import { ExtractPropTypes } from 'vue';
import { ISharedRenderlessParamUtils, ISharedRenderlessFunctionParams } from './shared.type.js';
import { I as IFileUploadVm, a as IFileUploadConstants } from './upload-list.type-4194f534.js';
import { I as IFileUploadVm, a as IFileUploadConstants } from './upload-list.type-36942775.js';
declare const UploadDraggerProps: {
disabled: BooleanConstructor;
customClass: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
customClass: (ArrayConstructor | StringConstructor | ObjectConstructor)[];
tiny_mode: StringConstructor;

@@ -9,0 +9,0 @@ tiny_mode_root: BooleanConstructor;

import 'vue';
export { H as IUploadListApi, J as IUploadListProps, K as IUploadListRenderlessParamUtils, L as IUploadListRenderlessParams, G as IUploadListState, M as IUploadListVideoParam } from './upload-list.type-4194f534.js';
export { H as IUploadListApi, J as IUploadListProps, K as IUploadListRenderlessParamUtils, L as IUploadListRenderlessParams, G as IUploadListState, M as IUploadListVideoParam } from './upload-list.type-36942775.js';
import './shared.type.js';
import 'vue';
export { d as IUploadApi, i as IUploadFormData, k as IUploadOptionsOfHwh5, j as IUploadOptionsOfPost, e as IUploadProps, h as IUploadRenderlessOtherParams, f as IUploadRenderlessParamUtils, g as IUploadRenderlessParams, c as IUploadState, b as IUploadStateHeader } from './upload-list.type-4194f534.js';
export { d as IUploadApi, i as IUploadFormData, k as IUploadOptionsOfHwh5, j as IUploadOptionsOfPost, e as IUploadProps, h as IUploadRenderlessOtherParams, f as IUploadRenderlessParamUtils, g as IUploadRenderlessParams, c as IUploadState, b as IUploadStateHeader } from './upload-list.type-36942775.js';
import './shared.type.js';
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc