init component
This commit is contained in:
13
node_modules/buetify/lib/composables/shared/index.d.ts
generated
vendored
Executable file
13
node_modules/buetify/lib/composables/shared/index.d.ts
generated
vendored
Executable file
@@ -0,0 +1,13 @@
|
||||
import { PropType } from 'vue';
|
||||
import { Eq } from 'fp-ts/lib/Eq';
|
||||
import { IO } from 'fp-ts/lib/IO';
|
||||
export declare type Remove = IO<void>;
|
||||
export declare function getEqPropsDefinition<T>(eq?: Eq<T>): {
|
||||
eq: {
|
||||
type: PropType<Eq<T>>;
|
||||
default: import("fp-ts/lib/function").Lazy<Eq<T>>;
|
||||
};
|
||||
};
|
||||
export interface EqProps<T> {
|
||||
eq: Eq<T>;
|
||||
}
|
||||
13
node_modules/buetify/lib/composables/shared/index.js
generated
vendored
Executable file
13
node_modules/buetify/lib/composables/shared/index.js
generated
vendored
Executable file
@@ -0,0 +1,13 @@
|
||||
import { constant } from 'fp-ts/lib/function';
|
||||
import { fromEquals } from 'fp-ts/lib/Eq';
|
||||
import { deepEqual } from '../../utils/helpers';
|
||||
const eqDeep = fromEquals(deepEqual);
|
||||
export function getEqPropsDefinition(eq = eqDeep) {
|
||||
return {
|
||||
eq: {
|
||||
type: Object,
|
||||
default: constant(eq)
|
||||
}
|
||||
};
|
||||
}
|
||||
//# sourceMappingURL=index.js.map
|
||||
1
node_modules/buetify/lib/composables/shared/index.js.map
generated
vendored
Executable file
1
node_modules/buetify/lib/composables/shared/index.js.map
generated
vendored
Executable file
@@ -0,0 +1 @@
|
||||
{"version":3,"sources":["../../../src/composables/shared/index.ts"],"names":[],"mappings":"AAAA,SAAS,QAAT,QAAyB,oBAAzB;AAEA,SAAa,UAAb,QAA+B,cAA/B;AAEA,SAAS,SAAT,QAA0B,qBAA1B;AAIA,MAAM,MAAM,GAAgB,UAAU,CAAC,SAAD,CAAtC;AAEA,OAAM,SAAU,oBAAV,CAAkC,EAAA,GAAY,MAA9C,EAAoD;AACxD,SAAO;AACL,IAAA,EAAE,EAAE;AACF,MAAA,IAAI,EAAE,MADJ;AAEF,MAAA,OAAO,EAAE,QAAQ,CAAC,EAAD;AAFf;AADC,GAAP;AAMD","sourcesContent":["import { constant } from 'fp-ts/lib/function';\nimport { PropType } from 'vue';\nimport { Eq, fromEquals } from 'fp-ts/lib/Eq';\nimport { IO } from 'fp-ts/lib/IO';\nimport { deepEqual } from '../../utils/helpers';\n\nexport type Remove = IO<void>;\n\nconst eqDeep: Eq<unknown> = fromEquals(deepEqual);\n\nexport function getEqPropsDefinition<T>(eq: Eq<T> = eqDeep) {\n return {\n eq: {\n type: Object as PropType<Eq<T>>,\n default: constant(eq)\n }\n };\n}\n\nexport interface EqProps<T> {\n eq: Eq<T>;\n}\n"],"sourceRoot":"","file":"index.js"}
|
||||
Reference in New Issue
Block a user