@ailaw/venus 1.74.0 → 1.77.0
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/en2.js +18 -0
- package/dist/venus.es.js +19 -1
- package/package.json +1 -1
package/dist/en2.js
CHANGED
|
@@ -362,6 +362,24 @@ var lang2 = {
|
|
|
362
362
|
noTaskSelected: "Please select at least one task",
|
|
363
363
|
assignSuccess: "Successfully assigned",
|
|
364
364
|
for: "For",
|
|
365
|
+
followReminders: "Automated Task Follow-Ups",
|
|
366
|
+
sendReminder: "Send Reminder",
|
|
367
|
+
never: "Never",
|
|
368
|
+
everyday: "Everyday",
|
|
369
|
+
every2day: "Every 2 Days",
|
|
370
|
+
every3day: "Every 3 Days",
|
|
371
|
+
every4day: "Every 4 Days",
|
|
372
|
+
every5day: "Every 5 Days",
|
|
373
|
+
every6day: "Every 6 Days",
|
|
374
|
+
every7day: "Every 7 Days",
|
|
375
|
+
expiredDate: "Expired Date",
|
|
376
|
+
customizeDate: "Customize Date",
|
|
377
|
+
after7Days: "After 7 Days",
|
|
378
|
+
after15Days: "After 15 Days",
|
|
379
|
+
after30Days: "After 30 Days",
|
|
380
|
+
after60Days: "After 60 Days",
|
|
381
|
+
after90Days: "After 90 Days",
|
|
382
|
+
after120Days: "After 120 Days",
|
|
365
383
|
familybasedGreenCardWithoutAosPetitionerEmployee1: "Basic Information of Petitioner",
|
|
366
384
|
familybasedGreenCardWithoutAosPetitionerEmployee2: "Petitioner's Family and Employment Information",
|
|
367
385
|
familybasedGreenCardWithoutAosPetitionerEmployee3: "Basic Information for This Petition",
|
package/dist/venus.es.js
CHANGED
|
@@ -496,19 +496,37 @@ var __vue2_script$f = defineComponent({
|
|
|
496
496
|
disabledProfile: {
|
|
497
497
|
type: Boolean,
|
|
498
498
|
default: void 0
|
|
499
|
+
},
|
|
500
|
+
priorities: {
|
|
501
|
+
type: Array,
|
|
502
|
+
default: () => []
|
|
499
503
|
}
|
|
500
504
|
},
|
|
501
505
|
setup(props, { emit }) {
|
|
502
506
|
const keywords = ref("");
|
|
503
507
|
const handleSearch = (value) => keywords.value = value;
|
|
504
|
-
const { onlyRole, roleTypes, profileIds, disabledProfile } = toRefs(props);
|
|
508
|
+
const { onlyRole, roleTypes, profileIds, disabledProfile, priorities } = toRefs(props);
|
|
505
509
|
const { profiles: rawProfiles } = useProfiles(keywords, onlyRole, roleTypes, profileIds, disabledProfile);
|
|
506
510
|
const createdProfile = ref();
|
|
507
511
|
const profiles = computed(() => {
|
|
512
|
+
var _a;
|
|
508
513
|
const list = [
|
|
509
514
|
...props.preLoaded,
|
|
510
515
|
...createdProfile.value ? [createdProfile.value, ...rawProfiles.value] : rawProfiles.value
|
|
511
516
|
];
|
|
517
|
+
if ((_a = priorities.value) == null ? void 0 : _a.length) {
|
|
518
|
+
const priority = [];
|
|
519
|
+
priorities.value.forEach((pId) => {
|
|
520
|
+
const target = list.find(({ id }) => pId === id);
|
|
521
|
+
if (target) {
|
|
522
|
+
priority.push(target);
|
|
523
|
+
}
|
|
524
|
+
});
|
|
525
|
+
return uniqBy(prop("id"), [
|
|
526
|
+
...priority,
|
|
527
|
+
...list.filter(({ id }) => priority.every(({ id: pId }) => id !== pId))
|
|
528
|
+
]);
|
|
529
|
+
}
|
|
512
530
|
return uniqBy(prop("id"), list);
|
|
513
531
|
});
|
|
514
532
|
const enabledTypes = computed(() => (onlyRole == null ? void 0 : onlyRole.value) ? [onlyRole.value] : void 0);
|