@ailaw/venus 0.9.2 → 0.9.3

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.
Files changed (63) hide show
  1. package/dist/style.css +1 -1
  2. package/dist/venus.es.js +10 -3
  3. package/package.json +1 -1
  4. package/dist/a-file-uploader/index.vue.d.ts +0 -65
  5. package/dist/a-test-component/index.vue.d.ts +0 -10
  6. package/dist/assignee-tag/index.vue.d.ts +0 -20
  7. package/dist/case-template-select/components/case-template-option.vue.d.ts +0 -15
  8. package/dist/case-template-select/components/case-template-type-badge.vue.d.ts +0 -12
  9. package/dist/case-template-select/gqls/templates.gql.d.ts +0 -1
  10. package/dist/case-template-select/hooks/useCaseTemplates.d.ts +0 -5
  11. package/dist/case-template-select/index.vue.d.ts +0 -26
  12. package/dist/case-template-select/types.d.ts +0 -9
  13. package/dist/forms/G-1145.d.ts +0 -2
  14. package/dist/forms/G-28-Company.d.ts +0 -2
  15. package/dist/forms/G-28-Person.d.ts +0 -2
  16. package/dist/forms/I-129 Attachment.d.ts +0 -2
  17. package/dist/forms/I-129 with H Supplement-Company Petitioner.d.ts +0 -2
  18. package/dist/forms/I-130.d.ts +0 -2
  19. package/dist/forms/I-130A.d.ts +0 -2
  20. package/dist/forms/I-131.d.ts +0 -2
  21. package/dist/forms/I-485.d.ts +0 -2
  22. package/dist/forms/I-485A.d.ts +0 -2
  23. package/dist/forms/I-765.d.ts +0 -2
  24. package/dist/forms/I-864.d.ts +0 -2
  25. package/dist/forms/I-864A.d.ts +0 -2
  26. package/dist/forms/index.d.ts +0 -17
  27. package/dist/hooks/useMe/index.d.ts +0 -2
  28. package/dist/hooks/useMe/me.gql.d.ts +0 -1
  29. package/dist/hooks/useMe/types.d.ts +0 -4
  30. package/dist/hooks/useT.d.ts +0 -1
  31. package/dist/hooks/useTask/useMutateTaskTemplate.d.ts +0 -9
  32. package/dist/hooks/useTask/useSearchTaskConditions.d.ts +0 -4
  33. package/dist/hooks/useTask/useSearchTaskTemplates.d.ts +0 -7
  34. package/dist/hooks/useTask/useTaskActions.d.ts +0 -8
  35. package/dist/hooks/useTask/useTaskTemplateTableData.d.ts +0 -15
  36. package/dist/hooks/useVm.d.ts +0 -1
  37. package/dist/index.d.ts +0 -19
  38. package/dist/new-task/index.vue.d.ts +0 -217
  39. package/dist/profile-select/gqls/profile.gql.d.ts +0 -9
  40. package/dist/profile-select/hooks/useCreateProfile.d.ts +0 -5
  41. package/dist/profile-select/hooks/useProfiles.d.ts +0 -6
  42. package/dist/profile-select/index.vue.d.ts +0 -64
  43. package/dist/profile-select/profile-create-modal.vue.d.ts +0 -73
  44. package/dist/profile-select/profile-select-item.vue.d.ts +0 -15
  45. package/dist/profile-select/profile-selector.vue.d.ts +0 -43
  46. package/dist/profile-select/profile-type-select.vue.d.ts +0 -32
  47. package/dist/profile-type-icon/index.vue.d.ts +0 -19
  48. package/dist/tags-with-tooltip/index.vue.d.ts +0 -33
  49. package/dist/task-cart/MainModal.vue.d.ts +0 -95
  50. package/dist/task-cart/ReviewModal.vue.d.ts +0 -77
  51. package/dist/task-cart/TaskTable.vue.d.ts +0 -69
  52. package/dist/task-cart/TaskTablePure.vue.d.ts +0 -93
  53. package/dist/task-cart/index.vue.d.ts +0 -235
  54. package/dist/task-form/index.vue.d.ts +0 -47
  55. package/dist/task-form/refactorParams.d.ts +0 -3
  56. package/dist/task-form/useChangeVal.d.ts +0 -2
  57. package/dist/task-template-filter/index.vue.d.ts +0 -55
  58. package/dist/types/common.d.ts +0 -32
  59. package/dist/types/form.d.ts +0 -9
  60. package/dist/types/profile.d.ts +0 -11
  61. package/dist/types/task.d.ts +0 -110
  62. package/dist/utils/forms.d.ts +0 -2
  63. package/dist/utils/languages.d.ts +0 -1
package/dist/style.css CHANGED
@@ -1 +1 @@
1
- /*! tailwindcss v2.2.17 | MIT License | https://tailwindcss.com *//*! modern-normalize v1.1.0 | MIT License | https://github.com/sindresorhus/modern-normalize */*,:before,:after{box-sizing:border-box}html{-moz-tab-size:4;-o-tab-size:4;tab-size:4}html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}body{font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"}hr{height:0;color:inherit}abbr[title]{-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}::-moz-focus-inner{border-style:none;padding:0}legend{padding:0}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}button{background-color:transparent;background-image:none}fieldset{margin:0;padding:0}ol,ul{list-style:none;margin:0;padding:0}html{font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";line-height:1.5}body{font-family:inherit;line-height:inherit}*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:currentColor}hr{border-top-width:1px}img{border-style:solid}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#a1a1aa}input:-ms-input-placeholder,textarea:-ms-input-placeholder{opacity:1;color:#a1a1aa}input::placeholder,textarea::placeholder{opacity:1;color:#a1a1aa}button,[role=button]{cursor:pointer}table{border-collapse:collapse}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}button,input,optgroup,select,textarea{padding:0;line-height:inherit;color:inherit}pre,code,kbd,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}*,:before,:after{border-color:currentColor}.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.visible{visibility:visible}.relative{position:relative}.my-1{margin-top:.25rem;margin-bottom:.25rem}.mr-2{margin-right:.5rem}.mb-5{margin-bottom:1.25rem}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.table{display:table}.h-6{height:1.5rem}.h-screen{height:100vh}.w-6{width:1.5rem}.w-60{width:15rem}.w-72{width:18rem}.flex-1{flex:1 1 0%}@-webkit-keyframes spin{to{transform:rotate(360deg)}}@keyframes spin{to{transform:rotate(360deg)}}@-webkit-keyframes ping{75%,to{transform:scale(2);opacity:0}}@keyframes ping{75%,to{transform:scale(2);opacity:0}}@-webkit-keyframes pulse{50%{opacity:.5}}@keyframes pulse{50%{opacity:.5}}@-webkit-keyframes bounce{0%,to{transform:translateY(-25%);-webkit-animation-timing-function:cubic-bezier(.8,0,1,1);animation-timing-function:cubic-bezier(.8,0,1,1)}50%{transform:none;-webkit-animation-timing-function:cubic-bezier(0,0,.2,1);animation-timing-function:cubic-bezier(0,0,.2,1)}}@keyframes bounce{0%,to{transform:translateY(-25%);-webkit-animation-timing-function:cubic-bezier(.8,0,1,1);animation-timing-function:cubic-bezier(.8,0,1,1)}50%{transform:none;-webkit-animation-timing-function:cubic-bezier(0,0,.2,1);animation-timing-function:cubic-bezier(0,0,.2,1)}}.items-center{align-items:center}.justify-end{justify-content:flex-end}.space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.25rem * var(--tw-space-x-reverse));margin-left:calc(.25rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.rounded{border-radius:.25rem}.border{border-width:1px}.border-solid{border-style:solid}.border-light-purple{--tw-border-opacity: 1;border-color:rgba(192,150,250,var(--tw-border-opacity))}.border-light-blue{--tw-border-opacity: 1;border-color:rgba(145,213,255,var(--tw-border-opacity))}.bg-purple{--tw-bg-opacity: 1;background-color:rgba(249,240,255,var(--tw-bg-opacity))}.bg-blue{--tw-bg-opacity: 1;background-color:rgba(230,247,255,var(--tw-bg-opacity))}.p-4{padding:1rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.capitalize{text-transform:capitalize}.leading-5{line-height:1.25rem}.text-secondary{--tw-text-opacity: 1;color:rgba(102,102,102,var(--tw-text-opacity))}.text-smart{--tw-text-opacity: 1;color:rgba(114,46,209,var(--tw-text-opacity))}.text-classic{--tw-text-opacity: 1;color:rgba(24,144,255,var(--tw-text-opacity))}*,:before,:after{--tw-shadow: 0 0 #0000}*,:before,:after{--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgba(59, 130, 246, .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000}.filter{--tw-blur: var(--tw-empty, );--tw-brightness: var(--tw-empty, );--tw-contrast: var(--tw-empty, );--tw-grayscale: var(--tw-empty, );--tw-hue-rotate: var(--tw-empty, );--tw-invert: var(--tw-empty, );--tw-saturate: var(--tw-empty, );--tw-sepia: var(--tw-empty, );--tw-drop-shadow: var(--tw-empty, );filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.blur{--tw-blur: blur(8px)}.min-w-80[data-v-0eaae435]{min-width:320px}.container[data-v-a46491dc]{border:1px solid #cccccc;border-radius:6px;padding:0 4px;min-height:30px;cursor:pointer}.block[data-v-a46491dc]{display:block}.tags-container[data-v-18554545]{word-break:keep-all;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer}.taskTemplateInline[data-v-c5d917d8]{float:right}a.taskTemplateInline[data-v-c5d917d8]{margin-left:10px}div.taskTemplateInline[data-v-c5d917d8]{margin-top:5px!important}
1
+ /*! tailwindcss v2.2.17 | MIT License | https://tailwindcss.com *//*! modern-normalize v1.1.0 | MIT License | https://github.com/sindresorhus/modern-normalize */*,:before,:after{box-sizing:border-box}html{-moz-tab-size:4;-o-tab-size:4;tab-size:4}html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}body{font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"}hr{height:0;color:inherit}abbr[title]{-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}::-moz-focus-inner{border-style:none;padding:0}legend{padding:0}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}button{background-color:transparent;background-image:none}fieldset{margin:0;padding:0}ol,ul{list-style:none;margin:0;padding:0}html{font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";line-height:1.5}body{font-family:inherit;line-height:inherit}*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:currentColor}hr{border-top-width:1px}img{border-style:solid}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#a1a1aa}input:-ms-input-placeholder,textarea:-ms-input-placeholder{opacity:1;color:#a1a1aa}input::placeholder,textarea::placeholder{opacity:1;color:#a1a1aa}button,[role=button]{cursor:pointer}table{border-collapse:collapse}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}button,input,optgroup,select,textarea{padding:0;line-height:inherit;color:inherit}pre,code,kbd,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}*,:before,:after{border-color:currentColor}.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.visible{visibility:visible}.relative{position:relative}.my-1{margin-top:.25rem;margin-bottom:.25rem}.mr-2{margin-right:.5rem}.mb-5{margin-bottom:1.25rem}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.table{display:table}.h-6{height:1.5rem}.h-screen{height:100vh}.w-6{width:1.5rem}.w-60{width:15rem}.w-72{width:18rem}.flex-1{flex:1 1 0%}@-webkit-keyframes spin{to{transform:rotate(360deg)}}@keyframes spin{to{transform:rotate(360deg)}}@-webkit-keyframes ping{75%,to{transform:scale(2);opacity:0}}@keyframes ping{75%,to{transform:scale(2);opacity:0}}@-webkit-keyframes pulse{50%{opacity:.5}}@keyframes pulse{50%{opacity:.5}}@-webkit-keyframes bounce{0%,to{transform:translateY(-25%);-webkit-animation-timing-function:cubic-bezier(.8,0,1,1);animation-timing-function:cubic-bezier(.8,0,1,1)}50%{transform:none;-webkit-animation-timing-function:cubic-bezier(0,0,.2,1);animation-timing-function:cubic-bezier(0,0,.2,1)}}@keyframes bounce{0%,to{transform:translateY(-25%);-webkit-animation-timing-function:cubic-bezier(.8,0,1,1);animation-timing-function:cubic-bezier(.8,0,1,1)}50%{transform:none;-webkit-animation-timing-function:cubic-bezier(0,0,.2,1);animation-timing-function:cubic-bezier(0,0,.2,1)}}.items-center{align-items:center}.justify-end{justify-content:flex-end}.space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.25rem * var(--tw-space-x-reverse));margin-left:calc(.25rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.rounded{border-radius:.25rem}.border{border-width:1px}.border-solid{border-style:solid}.border-light-purple{--tw-border-opacity: 1;border-color:rgba(192,150,250,var(--tw-border-opacity))}.border-light-blue{--tw-border-opacity: 1;border-color:rgba(145,213,255,var(--tw-border-opacity))}.bg-purple{--tw-bg-opacity: 1;background-color:rgba(249,240,255,var(--tw-bg-opacity))}.bg-blue{--tw-bg-opacity: 1;background-color:rgba(230,247,255,var(--tw-bg-opacity))}.p-4{padding:1rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.capitalize{text-transform:capitalize}.leading-5{line-height:1.25rem}.text-secondary{--tw-text-opacity: 1;color:rgba(102,102,102,var(--tw-text-opacity))}.text-smart{--tw-text-opacity: 1;color:rgba(114,46,209,var(--tw-text-opacity))}.text-classic{--tw-text-opacity: 1;color:rgba(24,144,255,var(--tw-text-opacity))}*,:before,:after{--tw-shadow: 0 0 #0000}*,:before,:after{--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgba(59, 130, 246, .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000}.filter{--tw-blur: var(--tw-empty, );--tw-brightness: var(--tw-empty, );--tw-contrast: var(--tw-empty, );--tw-grayscale: var(--tw-empty, );--tw-hue-rotate: var(--tw-empty, );--tw-invert: var(--tw-empty, );--tw-saturate: var(--tw-empty, );--tw-sepia: var(--tw-empty, );--tw-drop-shadow: var(--tw-empty, );filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.blur{--tw-blur: blur(8px)}.min-w-80[data-v-0eaae435]{min-width:320px}.container[data-v-4cddaa54]{border:1px solid #cccccc;border-radius:6px;padding:0 4px;min-height:30px;cursor:pointer}.block[data-v-4cddaa54]{display:block}.tags-container[data-v-18554545]{word-break:keep-all;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer}.taskTemplateInline[data-v-c5d917d8]{float:right}a.taskTemplateInline[data-v-c5d917d8]{margin-left:10px}div.taskTemplateInline[data-v-c5d917d8]{margin-top:5px!important}
package/dist/venus.es.js CHANGED
@@ -980,7 +980,14 @@ var __vue2_script$b = defineComponent({
980
980
  }
981
981
  return "other";
982
982
  };
983
+ const icons = {
984
+ img: "picture",
985
+ pdf: "file-pdf",
986
+ doc: "file-word",
987
+ other: "download"
988
+ };
983
989
  const isImage = (file) => typeOf(file.name) === "img";
990
+ const iconOf = (fileName) => icons[typeOf(fileName)];
984
991
  const clickItem = (item, event) => {
985
992
  if (!isImage(item)) {
986
993
  return;
@@ -989,7 +996,7 @@ var __vue2_script$b = defineComponent({
989
996
  previewImage.value = item.link;
990
997
  };
991
998
  return {
992
- isImage,
999
+ iconOf,
993
1000
  previewImage,
994
1001
  clickItem,
995
1002
  changeVal,
@@ -1010,7 +1017,7 @@ var render$b = function() {
1010
1017
  return _c("div", { key: file.id, staticStyle: { "margin-top": "3px" } }, [_c("a", { staticStyle: { "color": "#2D8CF0" }, attrs: { "href": file.link }, on: { "click": function($event) {
1011
1018
  $event.stopPropagation();
1012
1019
  return _vm.clickItem(file, $event);
1013
- } } }, [_vm._v(" " + _vm._s(file.name) + " "), _vm.isImage(file) ? _c("a-icon", { attrs: { "type": "file-image" } }) : _vm._e()], 1), !_vm.previewMode ? _c("ant-icon", { attrs: { "type": "close" }, on: { "click": function($event) {
1020
+ } } }, [_vm._v(" " + _vm._s(file.name) + " "), _c("a-icon", { attrs: { "type": _vm.iconOf(file.name) } })], 1), !_vm.disabled ? _c("ant-icon", { attrs: { "type": "close" }, on: { "click": function($event) {
1014
1021
  $event.stopPropagation();
1015
1022
  return _vm.remove(file.id);
1016
1023
  } } }) : _vm._e()], 1);
@@ -1026,7 +1033,7 @@ var render$b = function() {
1026
1033
  var staticRenderFns$b = [];
1027
1034
  var index_vue_vue_type_style_index_0_scoped_true_lang$6 = "";
1028
1035
  const __cssModules$b = {};
1029
- var __component__$b = /* @__PURE__ */ normalizeComponent(__vue2_script$b, render$b, staticRenderFns$b, false, __vue2_injectStyles$b, "a46491dc", null, null);
1036
+ var __component__$b = /* @__PURE__ */ normalizeComponent(__vue2_script$b, render$b, staticRenderFns$b, false, __vue2_injectStyles$b, "4cddaa54", null, null);
1030
1037
  function __vue2_injectStyles$b(context) {
1031
1038
  for (let o in __cssModules$b) {
1032
1039
  this[o] = __cssModules$b[o];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ailaw/venus",
3
- "version": "0.9.2",
3
+ "version": "0.9.3",
4
4
  "files": [
5
5
  "dist"
6
6
  ],
@@ -1,65 +0,0 @@
1
- import { PropType } from 'vue-demi';
2
- import { UploadFileFunction } from '@/types/task';
3
- import { Document } from '@/types/common';
4
- declare const _default: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<{
5
- isImage: (file: any) => boolean;
6
- previewImage: import("@vue/composition-api").Ref<string | undefined>;
7
- clickItem: (item: any, event: any) => void;
8
- changeVal: (k: string, v: any) => void;
9
- remove: (id: number) => void;
10
- beforeUpload: (file: File, files: File[]) => boolean;
11
- loading: import("@vue/composition-api").Ref<boolean>;
12
- acceptableFormats: string[];
13
- }> & import("@vue/composition-api").Data, {}, {}, {
14
- value: {
15
- type: PropType<Document[]>;
16
- default: () => never[];
17
- };
18
- uploadFilesFunc: {
19
- type: PropType<UploadFileFunction>;
20
- required: true;
21
- };
22
- disabled: {
23
- type: BooleanConstructor;
24
- };
25
- previewMode: {
26
- type: BooleanConstructor;
27
- default: boolean;
28
- };
29
- multipleLineMode: {
30
- type: BooleanConstructor;
31
- default: boolean;
32
- };
33
- }, {
34
- value: Document[];
35
- uploadFilesFunc: UploadFileFunction;
36
- disabled: boolean;
37
- previewMode: boolean;
38
- multipleLineMode: boolean;
39
- } & {}> & Pick<import("vue").VueConstructor<import("vue").default>, "filter" | "extend" | "nextTick" | "set" | "delete" | "directive" | "component" | "use" | "mixin" | "compile" | "observable" | "util" | "config" | "version"> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{
40
- value: Document[];
41
- uploadFilesFunc: UploadFileFunction;
42
- disabled: boolean;
43
- previewMode: boolean;
44
- multipleLineMode: boolean;
45
- } & {}, import("@vue/composition-api").ShallowUnwrapRef<{
46
- isImage: (file: any) => boolean;
47
- previewImage: import("@vue/composition-api").Ref<string | undefined>;
48
- clickItem: (item: any, event: any) => void;
49
- changeVal: (k: string, v: any) => void;
50
- remove: (id: number) => void;
51
- beforeUpload: (file: File, files: File[]) => boolean;
52
- loading: import("@vue/composition-api").Ref<boolean>;
53
- acceptableFormats: string[];
54
- }>, import("@vue/composition-api").Data, {}, {}, {}, {}, {}, {
55
- value: Document[];
56
- uploadFilesFunc: UploadFileFunction;
57
- disabled: boolean;
58
- previewMode: boolean;
59
- multipleLineMode: boolean;
60
- } & {}, {
61
- value: Document[];
62
- previewMode: boolean;
63
- multipleLineMode: boolean;
64
- }, true>);
65
- export default _default;
@@ -1,10 +0,0 @@
1
- declare const _default: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<{
2
- isDisabled: import("@vue/composition-api").ComputedRef<boolean>;
3
- notBoolean: import("@vue/composition-api").Ref<number>;
4
- test: import("@vue/composition-api").Ref<boolean>;
5
- }> & import("@vue/composition-api").Data, {}, {}, {}, {} & {}> & Pick<import("vue").VueConstructor<import("vue").default>, "filter" | "extend" | "nextTick" | "set" | "delete" | "directive" | "component" | "use" | "mixin" | "compile" | "observable" | "util" | "config" | "version"> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<{
6
- isDisabled: import("@vue/composition-api").ComputedRef<boolean>;
7
- notBoolean: import("@vue/composition-api").Ref<number>;
8
- test: import("@vue/composition-api").Ref<boolean>;
9
- }>, import("@vue/composition-api").Data, {}, {}, {}, {}, {}, {} & {}, {}, true>);
10
- export default _default;
@@ -1,20 +0,0 @@
1
- import { PropType } from 'vue-demi';
2
- import { AssigneeTypeKeys, AssigneeTypesText } from '@/types/common';
3
- declare const _default: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<{
4
- AssigneeTypesText: typeof AssigneeTypesText;
5
- tagColor: (key: AssigneeTypeKeys) => string;
6
- }> & import("@vue/composition-api").Data, {}, {}, {
7
- assigneeType: {
8
- type: PropType<"EMPTY_DEFAULT" | "BENEFICIARY" | "PETITIONER" | "ATTORNEY">;
9
- };
10
- }, {} & {
11
- assigneeType?: "EMPTY_DEFAULT" | "BENEFICIARY" | "PETITIONER" | "ATTORNEY" | undefined;
12
- }> & Pick<import("vue").VueConstructor<import("vue").default>, "filter" | "extend" | "nextTick" | "set" | "delete" | "directive" | "component" | "use" | "mixin" | "compile" | "observable" | "util" | "config" | "version"> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{} & {
13
- assigneeType?: "EMPTY_DEFAULT" | "BENEFICIARY" | "PETITIONER" | "ATTORNEY" | undefined;
14
- }, import("@vue/composition-api").ShallowUnwrapRef<{
15
- AssigneeTypesText: typeof AssigneeTypesText;
16
- tagColor: (key: AssigneeTypeKeys) => string;
17
- }>, import("@vue/composition-api").Data, {}, {}, {}, {}, {}, {} & {
18
- assigneeType?: "EMPTY_DEFAULT" | "BENEFICIARY" | "PETITIONER" | "ATTORNEY" | undefined;
19
- }, {}, true>);
20
- export default _default;
@@ -1,15 +0,0 @@
1
- import { PropType } from 'vue-demi';
2
- import { CaseTemplate } from '../types';
3
- declare const _default: import("vue").ComponentOptions<import("vue").default, void & import("@vue/composition-api").Data, {}, {}, {
4
- source: {
5
- type: PropType<CaseTemplate>;
6
- required: true;
7
- };
8
- }, {
9
- source: CaseTemplate;
10
- } & {}> & Pick<import("vue").VueConstructor<import("vue").default>, "filter" | "extend" | "nextTick" | "set" | "delete" | "directive" | "component" | "use" | "mixin" | "compile" | "observable" | "util" | "config" | "version"> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{
11
- source: CaseTemplate;
12
- } & {}, void, import("@vue/composition-api").Data, {}, {}, {}, {}, {}, {
13
- source: CaseTemplate;
14
- } & {}, {}, true>);
15
- export default _default;
@@ -1,12 +0,0 @@
1
- declare const _default: import("vue").ComponentOptions<import("vue").default, void & import("@vue/composition-api").Data, {}, {}, {
2
- isSmart: {
3
- type: BooleanConstructor;
4
- };
5
- }, {
6
- isSmart: boolean;
7
- } & {}> & Pick<import("vue").VueConstructor<import("vue").default>, "filter" | "extend" | "nextTick" | "set" | "delete" | "directive" | "component" | "use" | "mixin" | "compile" | "observable" | "util" | "config" | "version"> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{
8
- isSmart: boolean;
9
- } & {}, void, import("@vue/composition-api").Data, {}, {}, {}, {}, {}, {
10
- isSmart: boolean;
11
- } & {}, {}, true>);
12
- export default _default;
@@ -1 +0,0 @@
1
- export declare const queryAllCaseTemplates: import("graphql").DocumentNode;
@@ -1,5 +0,0 @@
1
- import { CaseTemplateList } from '../types';
2
- export default function useCaseTemplates(): {
3
- templates: Readonly<import("@vue/composition-api").Ref<Readonly<CaseTemplateList>>>;
4
- loading: import("@vue/composition-api").Ref<boolean>;
5
- };
@@ -1,26 +0,0 @@
1
- import { PropType, VNode } from 'vue-demi';
2
- import { CaseTemplate } from './types';
3
- declare const _default: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<{
4
- customTemplates: import("@vue/composition-api").ComputedRef<CaseTemplate[]>;
5
- galleryTemplates: import("@vue/composition-api").ComputedRef<CaseTemplate[]>;
6
- selectedId: import("@vue/composition-api").ComputedRef<number | undefined>;
7
- onChange: (value: number) => void;
8
- onFilter: (keywords: string, node: VNode) => any;
9
- }> & import("@vue/composition-api").Data, {}, {}, {
10
- value: {
11
- type: PropType<CaseTemplate>;
12
- };
13
- }, {} & {
14
- value?: CaseTemplate | undefined;
15
- }> & Pick<import("vue").VueConstructor<import("vue").default>, "filter" | "extend" | "nextTick" | "set" | "delete" | "directive" | "component" | "use" | "mixin" | "compile" | "observable" | "util" | "config" | "version"> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{} & {
16
- value?: CaseTemplate | undefined;
17
- }, import("@vue/composition-api").ShallowUnwrapRef<{
18
- customTemplates: import("@vue/composition-api").ComputedRef<CaseTemplate[]>;
19
- galleryTemplates: import("@vue/composition-api").ComputedRef<CaseTemplate[]>;
20
- selectedId: import("@vue/composition-api").ComputedRef<number | undefined>;
21
- onChange: (value: number) => void;
22
- onFilter: (keywords: string, node: VNode) => any;
23
- }>, import("@vue/composition-api").Data, {}, {}, {}, {}, {}, {} & {
24
- value?: CaseTemplate | undefined;
25
- }, {}, true>);
26
- export default _default;
@@ -1,9 +0,0 @@
1
- export interface CaseTemplate {
2
- id: number;
3
- isSmart: boolean;
4
- templateName: string;
5
- }
6
- export interface CaseTemplateList {
7
- gallery: CaseTemplate[];
8
- custom: CaseTemplate[];
9
- }
@@ -1,2 +0,0 @@
1
- declare const _default: import("../types/form").Form;
2
- export default _default;
@@ -1,2 +0,0 @@
1
- declare const _default: import("../types/form").Form;
2
- export default _default;
@@ -1,2 +0,0 @@
1
- declare const _default: import("../types/form").Form;
2
- export default _default;
@@ -1,2 +0,0 @@
1
- declare const _default: import("../types/form").Form;
2
- export default _default;
@@ -1,2 +0,0 @@
1
- declare const _default: import("../types/form").Form;
2
- export default _default;
@@ -1,2 +0,0 @@
1
- declare const _default: import("../types/form").Form;
2
- export default _default;
@@ -1,2 +0,0 @@
1
- declare const _default: import("../types/form").Form;
2
- export default _default;
@@ -1,2 +0,0 @@
1
- declare const _default: import("../types/form").Form;
2
- export default _default;
@@ -1,2 +0,0 @@
1
- declare const _default: import("../types/form").Form;
2
- export default _default;
@@ -1,2 +0,0 @@
1
- declare const _default: import("../types/form").Form;
2
- export default _default;
@@ -1,2 +0,0 @@
1
- declare const _default: import("../types/form").Form;
2
- export default _default;
@@ -1,2 +0,0 @@
1
- declare const _default: import("../types/form").Form;
2
- export default _default;
@@ -1,2 +0,0 @@
1
- declare const _default: import("../types/form").Form;
2
- export default _default;
@@ -1,17 +0,0 @@
1
- export declare const formRecords: {
2
- g28Company: import("../types/form").Form;
3
- g28Person: import("../types/form").Form;
4
- g1145: import("../types/form").Form;
5
- i129Attachment: import("../types/form").Form;
6
- i129Hs: import("../types/form").Form;
7
- i130: import("../types/form").Form;
8
- i130a: import("../types/form").Form;
9
- i131: import("../types/form").Form;
10
- i485: import("../types/form").Form;
11
- i485a: import("../types/form").Form;
12
- i765: import("../types/form").Form;
13
- i864: import("../types/form").Form;
14
- i864a: import("../types/form").Form;
15
- };
16
- declare const _default: import("../types/form").Form[];
17
- export default _default;
@@ -1,2 +0,0 @@
1
- import { Me } from './types';
2
- export default function useMe(): Readonly<import("@vue/composition-api").Ref<Readonly<Me> | undefined>>;
@@ -1 +0,0 @@
1
- export declare const meQuery: import("graphql").DocumentNode;
@@ -1,4 +0,0 @@
1
- export interface Me {
2
- id: string;
3
- lawFirmId: number;
4
- }
@@ -1 +0,0 @@
1
- export default function useT(): (key: string) => any;
@@ -1,9 +0,0 @@
1
- import { TaskTemplateMutateData, UpdateTaskTemplateResp, CreateTaskTemplateResp, TaskTemplate } from '@/types/task';
2
- import { UseMutationReturn } from '@vue/apollo-composable';
3
- export declare const useMutateTaskTemplate: () => UseMutationReturn<UpdateTaskTemplateResp, TaskTemplateMutateData>;
4
- export declare const useCreateTaskTemplate: () => UseMutationReturn<CreateTaskTemplateResp, TaskTemplateMutateData>;
5
- export declare const submit: (record: TaskTemplateMutateData, updateTemplate: any, createTemplate: any) => Promise<{
6
- isUpdate: boolean;
7
- newRecord: TaskTemplate;
8
- success: Boolean;
9
- }>;
@@ -1,4 +0,0 @@
1
- import { Ref } from 'vue-demi';
2
- import { TaskTemplateSearchInput } from '@/types/task';
3
- declare const _default: () => Ref<TaskTemplateSearchInput>;
4
- export default _default;
@@ -1,7 +0,0 @@
1
- import { SearchTaskTemplateParams, SearchTaskTemplateResp, TaskTemplateSearchInput } from '@/types/task';
2
- import { Pagination } from '@/types/common';
3
- import { Ref } from 'vue-demi';
4
- declare const _default: (pagination: Ref<Pagination>, conditions: Ref<TaskTemplateSearchInput> | undefined, lawFirmId: number, withGallery?: boolean) => import("@vue/apollo-composable").UseQueryReturn<SearchTaskTemplateResp, SearchTaskTemplateParams>;
5
- export default _default;
6
- export declare const taskTemplateFragment: import("graphql").DocumentNode;
7
- export declare const SearchTaskTemplatesQuery: import("graphql").DocumentNode;
@@ -1,8 +0,0 @@
1
- import { TaskTemplate } from '@/types/task';
2
- import { Ref } from 'vue-demi';
3
- declare const _default: (addedTasks: Ref<TaskTemplate[]>, emit: (key: string, value: any) => void) => {
4
- addTask: (record: TaskTemplate) => void;
5
- editTask: (record: TaskTemplate) => void;
6
- removeTask: (record: TaskTemplate) => void;
7
- };
8
- export default _default;
@@ -1,15 +0,0 @@
1
- import { Pagination } from '@/types/common';
2
- declare const _default: (props: any, emit: any) => {
3
- addTask: (record: import("../../types/task").TaskTemplate) => void;
4
- editTask: (record: import("../../types/task").TaskTemplate) => void;
5
- removeTask: (record: import("../../types/task").TaskTemplate) => void;
6
- changePagination: (pagination: Pagination) => void;
7
- pagination: import("@vue/composition-api").ComputedRef<Pagination>;
8
- dataSource: import("@vue/composition-api").ComputedRef<import("../../types/task").TaskTemplate[]>;
9
- result: import("@vue/composition-api").Ref<import("../../types/task").SearchTaskTemplateResp | undefined>;
10
- loading: import("@vue/composition-api").Ref<boolean>;
11
- conditions: import("@vue/composition-api").Ref<any>;
12
- addedTasks: import("@vue/composition-api").Ref<any>;
13
- variables: import("@vue/composition-api").Ref<import("../../types/task").SearchTaskTemplateParams | undefined>;
14
- };
15
- export default _default;
@@ -1 +0,0 @@
1
- export default function useVm(): any;
package/dist/index.d.ts DELETED
@@ -1,19 +0,0 @@
1
- import './index.css';
2
- export { default as ProfileSelect } from './profile-select/index.vue';
3
- export { default as CaseTemplateSelect } from './case-template-select/index.vue';
4
- export { default as CaseTemplateTypeBadge } from './case-template-select/components/case-template-type-badge.vue';
5
- export { default as getLanguageMessage } from './utils/languages';
6
- export { default as forms, formRecords } from './forms';
7
- export { default as AFileUploader } from './a-file-uploader/index.vue';
8
- export { default as AssigneeTag } from './assignee-tag/index.vue';
9
- export { default as TagsWithTooltip } from './tags-with-tooltip/index.vue';
10
- export { default as TaskForm } from './task-form/index.vue';
11
- export { default as NewTask } from './new-task/index.vue';
12
- export { default as TaskCart } from './task-cart/index.vue';
13
- export { default as TaskTemplateFilter } from './task-template-filter/index.vue';
14
- export { default as TaskTable } from './task-cart/TaskTable.vue';
15
- export { default as TestComponent } from './a-test-component/index.vue';
16
- export { default as useSearchTaskTemplates } from './hooks/useTask/useSearchTaskTemplates';
17
- export { default as useSearchTaskConditions } from './hooks/useTask/useSearchTaskConditions';
18
- export { useCreateTaskTemplate as useCreateTaskTemplate, useMutateTaskTemplate as useMutateTaskTemplate, submit as submitTaskTemplate, } from './hooks/useTask/useMutateTaskTemplate';
19
- export { default as refactorTaskTemplateParams } from './task-form/refactorParams';