@quoreadmin/ui 1.4.1 → 1.4.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.
- package/dist/index.d.ts +2 -0
- package/dist/index.js +110 -88205
- package/dist/index10.js +55 -0
- package/dist/index101.js +213 -0
- package/dist/index103.js +78 -0
- package/dist/index105.js +136 -0
- package/dist/index107.js +216 -0
- package/dist/index109.js +134 -0
- package/dist/index11.js +183 -0
- package/dist/index111.js +154 -0
- package/dist/index113.js +44 -0
- package/dist/index115.js +78 -0
- package/dist/index117.js +25 -0
- package/dist/index119.js +84 -0
- package/dist/index12.js +74 -0
- package/dist/index121.js +16 -0
- package/dist/index123.js +82 -0
- package/dist/index125.js +134 -0
- package/dist/index127.js +56 -0
- package/dist/index129.js +37 -0
- package/dist/index13.js +32 -0
- package/dist/index131.js +65 -0
- package/dist/index133.js +815 -0
- package/dist/index135.js +277 -0
- package/dist/index137.js +350 -0
- package/dist/index139.js +31 -0
- package/dist/index14.js +190 -0
- package/dist/index141.js +89 -0
- package/dist/index143.js +93 -0
- package/dist/index145.js +116 -0
- package/dist/index147.js +389 -0
- package/dist/index149.js +44 -0
- package/dist/index15.js +138 -0
- package/dist/index151.js +210 -0
- package/dist/index154.js +115 -0
- package/dist/index155.js +497 -0
- package/dist/index156.js +5524 -0
- package/dist/index157.js +93 -0
- package/dist/index158.js +863 -0
- package/dist/index159.js +40 -0
- package/dist/index16.js +318 -0
- package/dist/index160.js +282 -0
- package/dist/index161.js +152 -0
- package/dist/index162.js +1201 -0
- package/dist/index163.js +774 -0
- package/dist/index164.js +1310 -0
- package/dist/index165.js +278 -0
- package/dist/index166.js +108 -0
- package/dist/index167.js +4 -0
- package/dist/index168.js +1378 -0
- package/dist/index17.js +25 -0
- package/dist/index170.js +20 -0
- package/dist/index171.js +20 -0
- package/dist/index172.js +20 -0
- package/dist/index173.js +20 -0
- package/dist/index174.js +27 -0
- package/dist/index175.js +761 -0
- package/dist/index176.js +831 -0
- package/dist/index177.js +1236 -0
- package/dist/index178.js +11279 -0
- package/dist/index179.js +38 -0
- package/dist/index18.js +48 -0
- package/dist/index180.js +117 -0
- package/dist/index181.js +46 -0
- package/dist/index182.js +1192 -0
- package/dist/index184.js +5940 -0
- package/dist/index185.js +209 -0
- package/dist/index186.js +37 -0
- package/dist/index187.js +20 -0
- package/dist/index188.js +80 -0
- package/dist/index189.js +255 -0
- package/dist/index19.js +53 -0
- package/dist/index190.js +13686 -0
- package/dist/index191.js +29 -0
- package/dist/index192.js +65 -0
- package/dist/index193.js +240 -0
- package/dist/index194.js +310 -0
- package/dist/index195.js +290 -0
- package/dist/index196.js +35 -0
- package/dist/index197.js +118 -0
- package/dist/index198.js +38 -0
- package/dist/index199.js +28 -0
- package/dist/index2.js +86 -0
- package/dist/index20.js +35 -0
- package/dist/index200.js +38 -0
- package/dist/index201.js +11 -0
- package/dist/index202.js +21 -0
- package/dist/index203.js +12 -0
- package/dist/index204.js +12 -0
- package/dist/index205.js +53 -0
- package/dist/index206.js +45 -0
- package/dist/index207.js +6 -0
- package/dist/index208.js +41 -0
- package/dist/index209.js +23 -0
- package/dist/index21.js +68 -0
- package/dist/index210.js +90 -0
- package/dist/index211.js +409 -0
- package/dist/index212.js +24 -0
- package/dist/index213.js +163 -0
- package/dist/index214.js +22 -0
- package/dist/index215.js +22 -0
- package/dist/index216.js +24 -0
- package/dist/index217.js +201 -0
- package/dist/index218.js +72 -0
- package/dist/index219.js +36 -0
- package/dist/index22.js +176 -0
- package/dist/index220.js +42 -0
- package/dist/index221.js +129 -0
- package/dist/index222.js +40 -0
- package/dist/index223.js +82 -0
- package/dist/index224.js +22 -0
- package/dist/index225.js +22 -0
- package/dist/index226.js +22 -0
- package/dist/index227.js +22 -0
- package/dist/index228.js +163 -0
- package/dist/index229.js +230 -0
- package/dist/index23.js +14 -0
- package/dist/index230.js +39 -0
- package/dist/index231.js +12 -0
- package/dist/index232.js +24 -0
- package/dist/index233.js +24 -0
- package/dist/index234.js +22 -0
- package/dist/index235.js +838 -0
- package/dist/index236.js +704 -0
- package/dist/index237.js +178 -0
- package/dist/index238.js +24 -0
- package/dist/index239.js +22 -0
- package/dist/index24.js +43 -0
- package/dist/index240.js +22 -0
- package/dist/index241.js +5 -0
- package/dist/index242.js +189 -0
- package/dist/index243.js +135 -0
- package/dist/index244.js +1225 -0
- package/dist/index245.js +22 -0
- package/dist/index246.js +24 -0
- package/dist/index247.js +24 -0
- package/dist/index248.js +31 -0
- package/dist/index249.js +22 -0
- package/dist/index25.js +123 -0
- package/dist/index250.js +22 -0
- package/dist/index251.js +4 -0
- package/dist/index252.js +4 -0
- package/dist/index253.js +3634 -0
- package/dist/index254.js +57 -0
- package/dist/index255.js +79 -0
- package/dist/index256.js +54 -0
- package/dist/index257.js +217 -0
- package/dist/index258.js +12 -0
- package/dist/index259.js +59 -0
- package/dist/index26.js +29 -0
- package/dist/index260.js +63 -0
- package/dist/index261.js +56 -0
- package/dist/index262.js +77 -0
- package/dist/index263.js +725 -0
- package/dist/index264.js +41 -0
- package/dist/index265.js +66 -0
- package/dist/index266.js +13 -0
- package/dist/index267.js +707 -0
- package/dist/index268.js +822 -0
- package/dist/index269.js +255 -0
- package/dist/index27.js +163 -0
- package/dist/index270.js +10 -0
- package/dist/index271.js +140 -0
- package/dist/index272.js +85 -0
- package/dist/index273.js +5 -0
- package/dist/index274.js +29 -0
- package/dist/index275.js +56 -0
- package/dist/index276.js +81 -0
- package/dist/index277.js +28 -0
- package/dist/index278.js +24 -0
- package/dist/index279.js +24 -0
- package/dist/index28.js +286 -0
- package/dist/index280.js +18 -0
- package/dist/index281.js +19 -0
- package/dist/index282.js +25 -0
- package/dist/index283.js +4 -0
- package/dist/index284.js +237 -0
- package/dist/index285.js +8 -0
- package/dist/index286.js +136 -0
- package/dist/index287.js +70 -0
- package/dist/index288.js +89 -0
- package/dist/index289.js +31 -0
- package/dist/index29.js +69 -0
- package/dist/index290.js +11 -0
- package/dist/index291.js +77 -0
- package/dist/index292.js +6 -0
- package/dist/index293.js +4 -0
- package/dist/index294.js +85 -0
- package/dist/index295.js +56 -0
- package/dist/index296.js +8 -0
- package/dist/index297.js +7 -0
- package/dist/index298.js +181 -0
- package/dist/index299.js +65 -0
- package/dist/index3.js +69 -0
- package/dist/index30.js +183 -0
- package/dist/index300.js +77 -0
- package/dist/index301.js +81 -0
- package/dist/index302.js +24 -0
- package/dist/index303.js +937 -0
- package/dist/index304.js +24 -0
- package/dist/index305.js +22 -0
- package/dist/index306.js +22 -0
- package/dist/index307.js +71 -0
- package/dist/index308.js +21 -0
- package/dist/index309.js +21 -0
- package/dist/index31.js +44 -0
- package/dist/index310.js +24 -0
- package/dist/index311.js +24 -0
- package/dist/index312.js +65 -0
- package/dist/index313.js +1520 -0
- package/dist/index314.js +388 -0
- package/dist/index315.js +2733 -0
- package/dist/index316.js +88 -0
- package/dist/index317.js +3772 -0
- package/dist/index318.js +62 -0
- package/dist/index319.js +17 -0
- package/dist/index32.js +55 -0
- package/dist/index320.js +86 -0
- package/dist/index321.js +204 -0
- package/dist/index322.js +248 -0
- package/dist/index323.js +11 -0
- package/dist/index324.js +15 -0
- package/dist/index325.js +57 -0
- package/dist/index326.js +14 -0
- package/dist/index327.js +16 -0
- package/dist/index328.js +60 -0
- package/dist/index329.js +54 -0
- package/dist/index33.js +38 -0
- package/dist/index330.js +33 -0
- package/dist/index331.js +4 -0
- package/dist/index332.js +7 -0
- package/dist/index333.js +4 -0
- package/dist/index334.js +25 -0
- package/dist/index335.js +43 -0
- package/dist/index336.js +4 -0
- package/dist/index337.js +13 -0
- package/dist/index338.js +22 -0
- package/dist/index339.js +19 -0
- package/dist/index34.js +35 -0
- package/dist/index340.js +12 -0
- package/dist/index341.js +12 -0
- package/dist/index342.js +4 -0
- package/dist/index343.js +11 -0
- package/dist/index344.js +12 -0
- package/dist/index345.js +16 -0
- package/dist/index346.js +39 -0
- package/dist/index347.js +23 -0
- package/dist/index348.js +58 -0
- package/dist/index349.js +31 -0
- package/dist/index35.js +19 -0
- package/dist/index350.js +9 -0
- package/dist/index351.js +54 -0
- package/dist/index352.js +8 -0
- package/dist/index353.js +14 -0
- package/dist/index354.js +9 -0
- package/dist/index355.js +30 -0
- package/dist/index356.js +4 -0
- package/dist/index357.js +72 -0
- package/dist/index358.js +169 -0
- package/dist/index359.js +22 -0
- package/dist/index36.js +47 -0
- package/dist/index360.js +22 -0
- package/dist/index361.js +66 -0
- package/dist/index362.js +39 -0
- package/dist/index363.js +33 -0
- package/dist/index364.js +13 -0
- package/dist/index365.js +6 -0
- package/dist/index366.js +6 -0
- package/dist/index367.js +15 -0
- package/dist/index368.js +9 -0
- package/dist/index369.js +14 -0
- package/dist/index37.js +42 -0
- package/dist/index370.js +7 -0
- package/dist/index371.js +35 -0
- package/dist/index372.js +33 -0
- package/dist/index373.js +30 -0
- package/dist/index374.js +63 -0
- package/dist/index375.js +19 -0
- package/dist/index376.js +103 -0
- package/dist/index377.js +93 -0
- package/dist/index378.js +100 -0
- package/dist/index379.js +5 -0
- package/dist/index38.js +32 -0
- package/dist/index380.js +4 -0
- package/dist/index381.js +4 -0
- package/dist/index382.js +19 -0
- package/dist/index383.js +15 -0
- package/dist/index384.js +8 -0
- package/dist/index385.js +34 -0
- package/dist/index39.js +39 -0
- package/dist/index4.js +23 -0
- package/dist/index40.js +44 -0
- package/dist/index41.js +1075 -0
- package/dist/index42.js +339 -0
- package/dist/index43.js +159 -0
- package/dist/index44.js +22 -0
- package/dist/index45.js +42 -0
- package/dist/index46.js +72 -0
- package/dist/index47.js +65 -0
- package/dist/index48.js +184 -0
- package/dist/index49.js +88 -0
- package/dist/index5.js +19 -0
- package/dist/index50.js +209 -0
- package/dist/index51.js +71 -0
- package/dist/index52.js +22 -0
- package/dist/index53.js +13 -0
- package/dist/index54.js +9 -0
- package/dist/index55.js +213 -0
- package/dist/index56.js +15 -0
- package/dist/index57.js +187 -0
- package/dist/index58.js +79 -0
- package/dist/index6.js +21 -0
- package/dist/index60.js +9 -0
- package/dist/index61.js +65 -0
- package/dist/index63.js +44 -0
- package/dist/index65.js +16 -0
- package/dist/index67.js +30 -0
- package/dist/index69.js +141 -0
- package/dist/index7.js +76 -0
- package/dist/index71.js +78 -0
- package/dist/index73.js +62 -0
- package/dist/index74.js +105 -0
- package/dist/index76.js +217 -0
- package/dist/index78.js +108 -0
- package/dist/index8.js +31 -0
- package/dist/index80.js +36 -0
- package/dist/index81.js +140 -0
- package/dist/index83.js +141 -0
- package/dist/index85.js +292 -0
- package/dist/index87.js +29 -0
- package/dist/index89.js +45 -0
- package/dist/index9.js +36 -0
- package/dist/index91.js +117 -0
- package/dist/index93.js +29 -0
- package/dist/index94.js +34 -0
- package/dist/index96.js +138 -0
- package/dist/index97.js +10 -0
- package/dist/index99.js +39 -0
- package/dist/src/App.vue.d.ts +2 -0
- package/dist/src/components/accordion/accordion.d.ts +113 -0
- package/dist/src/components/accordion/accordion.stories.d.ts +803 -0
- package/dist/src/components/accordion/accordion.vue.d.ts +2 -0
- package/dist/src/components/activity-item/activity-item.d.ts +83 -0
- package/dist/src/components/activity-item/activity-item.stories.d.ts +7 -0
- package/dist/src/components/activity-item/activity-item.vue.d.ts +2 -0
- package/dist/src/components/avatar/avatar.d.ts +54 -0
- package/dist/src/components/avatar/avatar.stories.d.ts +68 -0
- package/dist/src/components/avatar/avatar.vue.d.ts +2 -0
- package/dist/src/components/badge/badge.d.ts +31 -0
- package/dist/src/components/badge/badge.stories.d.ts +135 -0
- package/dist/src/components/badge/badge.vue.d.ts +2 -0
- package/dist/src/components/banner/banner.d.ts +24 -0
- package/dist/src/components/banner/banner.stories.d.ts +40 -0
- package/dist/src/components/banner/banner.vue.d.ts +2 -0
- package/dist/src/components/bottom-sheet/bottom-sheet.d.ts +120 -0
- package/dist/src/components/bottom-sheet/bottom-sheet.stories.d.ts +925 -0
- package/dist/src/components/bottom-sheet/bottom-sheet.vue.d.ts +2 -0
- package/dist/src/components/button/button.d.ts +121 -0
- package/dist/src/components/button/button.stories.d.ts +518 -0
- package/dist/src/components/button/button.vue.d.ts +2 -0
- package/dist/src/components/button-group/button-group.d.ts +92 -0
- package/dist/src/components/button-group/button-group.stories.d.ts +325 -0
- package/dist/src/components/button-group/button-group.vue.d.ts +2 -0
- package/dist/src/components/checkbox/checkbox.d.ts +205 -0
- package/dist/src/components/checkbox/checkbox.vue.d.ts +2 -0
- package/dist/src/components/comment/comment.d.ts +3157 -0
- package/dist/src/components/comment/comment.stories.d.ts +3186 -0
- package/dist/src/components/comment/comment.vue.d.ts +2 -0
- package/dist/src/components/comment-section/comment-section.d.ts +4866 -0
- package/dist/src/components/comment-section/comment-section.stories.d.ts +6541 -0
- package/dist/src/components/comment-section/comment-section.vue.d.ts +2 -0
- package/dist/src/components/counter/counter.d.ts +53 -0
- package/dist/src/components/counter/counter.stories.d.ts +120 -0
- package/dist/src/components/counter/counter.vue.d.ts +2 -0
- package/dist/src/components/data-filter/data-filter.d.ts +773 -0
- package/dist/src/components/data-filter/data-filter.vue.d.ts +2 -0
- package/dist/src/components/data-list/data-list.d.ts +945 -0
- package/dist/src/components/data-list/data-list.vue.d.ts +2 -0
- package/dist/src/components/data-table/data-table.d.ts +543 -0
- package/dist/src/components/data-table/data-table.vue.d.ts +2 -0
- package/dist/src/components/data-table-cell/data-table-cell.d.ts +42 -0
- package/dist/src/components/data-table-cell/data-table-cell.vue.d.ts +2 -0
- package/dist/src/components/data-table-head/data-table-head.d.ts +110 -0
- package/dist/src/components/data-table-head/data-table-head.vue.d.ts +2 -0
- package/dist/src/components/date-picker/date-picker.d.ts +672 -0
- package/dist/src/components/date-picker/date-picker.stories.d.ts +1316 -0
- package/dist/src/components/date-picker/date-picker.vue.d.ts +2 -0
- package/dist/src/components/divider/divider.d.ts +41 -0
- package/dist/src/components/divider/divider.stories.d.ts +103 -0
- package/dist/src/components/divider/divider.vue.d.ts +2 -0
- package/dist/src/components/file-upload/file-upload.d.ts +1214 -0
- package/dist/src/components/file-upload/file-upload.stories.d.ts +6974 -0
- package/dist/src/components/file-upload/file-upload.vue.d.ts +2 -0
- package/dist/src/components/footer-actions/footer-actions.d.ts +3 -0
- package/dist/src/components/footer-actions/footer-actions.stories.d.ts +17 -0
- package/dist/src/components/footer-actions/footer-actions.vue.d.ts +2 -0
- package/dist/src/components/form-group/form-group.d.ts +33 -0
- package/dist/src/components/form-group/form-group.stories.d.ts +230 -0
- package/dist/src/components/form-group/form-group.vue.d.ts +2 -0
- package/dist/src/components/grid/grid.d.ts +267 -0
- package/dist/src/components/grid/grid.stories.d.ts +3523 -0
- package/dist/src/components/grid/grid.vue.d.ts +2 -0
- package/dist/src/components/icon/icon.d.ts +93 -0
- package/dist/src/components/icon/icon.stories.d.ts +115 -0
- package/dist/src/components/icon/icon.vue.d.ts +2 -0
- package/dist/src/components/icon-action-group/icon-action-group.d.ts +513 -0
- package/dist/src/components/icon-action-group/icon-action-group.stories.d.ts +2570 -0
- package/dist/src/components/icon-action-group/icon-action-group.vue.d.ts +2 -0
- package/dist/src/components/image-gallery/image-gallery.d.ts +840 -0
- package/dist/src/components/image-gallery/image-gallery.stories.d.ts +1711 -0
- package/dist/src/components/image-gallery/image-gallery.vue.d.ts +2 -0
- package/dist/src/components/input/input.d.ts +185 -0
- package/dist/src/components/input/input.stories.d.ts +1065 -0
- package/dist/src/components/input/input.vue.d.ts +2 -0
- package/dist/src/components/list/list.d.ts +209 -0
- package/dist/src/components/list/list.stories.d.ts +1682 -0
- package/dist/src/components/list/list.vue.d.ts +2 -0
- package/dist/src/components/menu/menu.d.ts +120 -0
- package/dist/src/components/menu/menu.stories.d.ts +239 -0
- package/dist/src/components/menu/menu.vue.d.ts +2 -0
- package/dist/src/components/modal/modal.d.ts +192 -0
- package/dist/src/components/modal/modal.stories.d.ts +2102 -0
- package/dist/src/components/modal/modal.vue.d.ts +2 -0
- package/dist/src/components/modal/variants/error-modal/error-modal.d.ts +221 -0
- package/dist/src/components/modal/variants/error-modal/error-modal.vue.d.ts +2 -0
- package/dist/src/components/modal/variants/warning-modal/warning-modal.d.ts +241 -0
- package/dist/src/components/modal/variants/warning-modal/warning-modal.vue.d.ts +2 -0
- package/dist/src/components/modal-content/modal-content.d.ts +37 -0
- package/dist/src/components/modal-content/modal-content.vue.d.ts +2 -0
- package/dist/src/components/page-heading/page-heading.d.ts +57 -0
- package/dist/src/components/page-heading/page-heading.vue.d.ts +2 -0
- package/dist/src/components/page-navigation/page-navigation.d.ts +15 -0
- package/dist/src/components/page-navigation/page-navigation.vue.d.ts +2 -0
- package/dist/src/components/pdf-viewer/pdf-viewer.d.ts +243 -0
- package/dist/src/components/pdf-viewer/pdf-viewer.stories.d.ts +260 -0
- package/dist/src/components/pdf-viewer/pdf-viewer.vue.d.ts +2 -0
- package/dist/src/components/popover/popover.d.ts +118 -0
- package/dist/src/components/popover/popover.stories.d.ts +411 -0
- package/dist/src/components/popover/popover.vue.d.ts +2 -0
- package/dist/src/components/progress-bar/progress-bar.d.ts +85 -0
- package/dist/src/components/progress-bar/progress-bar.stories.d.ts +103 -0
- package/dist/src/components/progress-bar/progress-bar.vue.d.ts +2 -0
- package/dist/src/components/progress-bar-group/progress-bar-group.d.ts +152 -0
- package/dist/src/components/progress-bar-group/progress-bar-group.stories.d.ts +5 -0
- package/dist/src/components/progress-bar-group/progress-bar-group.vue.d.ts +2 -0
- package/dist/src/components/radio/radio.d.ts +93 -0
- package/dist/src/components/radio/radio.stories.d.ts +233 -0
- package/dist/src/components/radio/radio.vue.d.ts +2 -0
- package/dist/src/components/room-details-popover/room-details-popover.d.ts +6467 -0
- package/dist/src/components/room-details-popover/room-details-popover.vue.d.ts +2 -0
- package/dist/src/components/select/select.d.ts +407 -0
- package/dist/src/components/select/select.stories.d.ts +1297 -0
- package/dist/src/components/select/select.vue.d.ts +2 -0
- package/dist/src/components/table/table.d.ts +407 -0
- package/dist/src/components/table/table.vue.d.ts +2 -0
- package/dist/src/components/tag/tag.d.ts +43 -0
- package/dist/src/components/tag/tag.stories.d.ts +176 -0
- package/dist/src/components/tag/tag.vue.d.ts +2 -0
- package/dist/src/components/textarea/textarea.d.ts +92 -0
- package/dist/src/components/textarea/textarea.stories.d.ts +111 -0
- package/dist/src/components/textarea/textarea.vue.d.ts +2 -0
- package/dist/src/components/toast/toast.d.ts +117 -0
- package/dist/src/components/toast/toast.stories.d.ts +661 -0
- package/dist/src/components/toast/toast.vue.d.ts +2 -0
- package/dist/src/components/tooltip/tooltip.d.ts +137 -0
- package/dist/src/components/tooltip/tooltip.stories.d.ts +953 -0
- package/dist/src/components/tooltip/tooltip.vue.d.ts +2 -0
- package/dist/src/components/tour/tour.d.ts +364 -0
- package/dist/src/components/tour/tour.vue.d.ts +2 -0
- package/dist/src/components/wysiwyg/wysiwyg.d.ts +1560 -0
- package/dist/src/components/wysiwyg/wysiwyg.stories.d.ts +1583 -0
- package/dist/src/components/wysiwyg/wysiwyg.vue.d.ts +2 -0
- package/dist/src/composables/filtering.d.ts +22 -0
- package/dist/src/composables/mq.d.ts +12 -0
- package/dist/src/composables/nanopop.d.ts +77 -0
- package/dist/src/composables/table-data.d.ts +138 -0
- package/dist/src/composables/useDeviceType.d.ts +4 -0
- package/dist/src/index.d.ts +58 -0
- package/dist/src/main.d.ts +0 -0
- package/dist/src/plugins/luxon.d.ts +3 -0
- package/dist/src/router/index.d.ts +2 -0
- package/dist/src/views/lists.vue.d.ts +2491 -0
- package/dist/src/views/rdp.vue.d.ts +9 -0
- package/dist/src/views/showcase.vue.d.ts +523 -0
- package/dist/src/views/tables.vue.d.ts +1846 -0
- package/dist/src/views/tour.vue.d.ts +48 -0
- package/package.json +32 -8
- package/tailwind.preset.ts +245 -0
- package/dist/index.umd.cjs +0 -1327
package/dist/index41.js
ADDED
|
@@ -0,0 +1,1075 @@
|
|
|
1
|
+
import S from "./index133.js";
|
|
2
|
+
import { resolveComponent as y, createElementBlock as t, createCommentVNode as i, openBlock as l, createVNode as r, withCtx as a, createElementVNode as n, normalizeClass as p, toDisplayString as d, createBlock as k, Fragment as T, renderList as v, createTextVNode as h, withKeys as H, withModifiers as E, mergeProps as U, toHandlerKey as D, renderSlot as A } from "vue";
|
|
3
|
+
/* empty css */
|
|
4
|
+
import R from "./index60.js";
|
|
5
|
+
const G = ["id"], I = ["id"], L = ["id"], z = { class: "flex gap-3" }, M = {
|
|
6
|
+
key: 0,
|
|
7
|
+
class: "animate-shimmer bg-gray-30 w-3/4 h-6 grow"
|
|
8
|
+
}, P = {
|
|
9
|
+
key: 0,
|
|
10
|
+
class: "text-base text-inkwell-30"
|
|
11
|
+
}, B = { key: 0 }, K = { key: 0 }, Y = ["href"], j = { class: "flex items-start" }, F = { class: "list-unstyled text-xs w-full" }, Z = { class: "grow" }, Q = { class: "grow" }, W = { class: "grow" }, J = { class: "grow" }, X = { class: "position-relative icon-container ml-auto" }, _ = {
|
|
12
|
+
key: 0,
|
|
13
|
+
class: "animate-shimmer bg-gray-10 w-full h-4 my-4"
|
|
14
|
+
}, x = {
|
|
15
|
+
key: 1,
|
|
16
|
+
class: "flex flex-wrap items-center mb-3 gap-2"
|
|
17
|
+
}, ee = {
|
|
18
|
+
key: 2,
|
|
19
|
+
class: "animate-shimmer bg-gray-30 w-full h-4 my-4"
|
|
20
|
+
}, oe = {
|
|
21
|
+
key: 3,
|
|
22
|
+
class: "flex flex-wrap items-center mb-4"
|
|
23
|
+
}, se = ["href"], le = { class: "shrink-0 mr-2 text-xs" }, te = {
|
|
24
|
+
key: 0,
|
|
25
|
+
class: "animate-shimmer bg-gray-10 w-full h-6"
|
|
26
|
+
}, ie = {
|
|
27
|
+
key: 1,
|
|
28
|
+
class: "guest-info-container"
|
|
29
|
+
}, re = {
|
|
30
|
+
key: 0,
|
|
31
|
+
class: "text-base text-inkwell-30 mb-2"
|
|
32
|
+
}, ne = {
|
|
33
|
+
key: 0,
|
|
34
|
+
class: "flex text-xs mb-2 stay-details-row"
|
|
35
|
+
}, de = { class: "text-truncate text-inkwell-0" }, ae = { class: "grow text-inkwell-30" }, pe = {
|
|
36
|
+
key: 1,
|
|
37
|
+
class: "flex text-xs mb-2 stay-details-row"
|
|
38
|
+
}, ue = { class: "text-truncate text-inkwell-0" }, me = { class: "grow text-inkwell-30" }, ye = { class: "shrink-0 mr-2 text-xs" }, ke = {
|
|
39
|
+
key: 0,
|
|
40
|
+
class: "animate-shimmer bg-gray-30 w-full h-6"
|
|
41
|
+
}, ge = {
|
|
42
|
+
key: 1,
|
|
43
|
+
class: "open-tickets"
|
|
44
|
+
}, he = ["id"], we = {
|
|
45
|
+
key: 2,
|
|
46
|
+
class: "text-center mx-auto"
|
|
47
|
+
}, qe = { class: "shrink-0 mr-2 text-xs" }, Te = {
|
|
48
|
+
key: 0,
|
|
49
|
+
class: "quick-replies row"
|
|
50
|
+
}, ve = ["onClick"], ce = {
|
|
51
|
+
key: 1,
|
|
52
|
+
class: "text-inkwell-0 text-xxs text-center"
|
|
53
|
+
}, fe = { class: "relative" }, Ce = ["innerHTML"], be = { class: "flex items-center add-ticket-divider" }, Oe = { class: "grow flex items-center text-sm" }, $e = {
|
|
54
|
+
key: 0,
|
|
55
|
+
class: "grow"
|
|
56
|
+
}, Ee = { class: "flex justify-between flex-wrap" }, De = { class: "field" }, Ve = {
|
|
57
|
+
key: 0,
|
|
58
|
+
class: "field"
|
|
59
|
+
}, Ne = {
|
|
60
|
+
key: 1,
|
|
61
|
+
class: "field"
|
|
62
|
+
}, Se = {
|
|
63
|
+
key: 2,
|
|
64
|
+
class: "field"
|
|
65
|
+
}, He = {
|
|
66
|
+
key: 3,
|
|
67
|
+
class: "field w-100"
|
|
68
|
+
}, Ue = {
|
|
69
|
+
key: 4,
|
|
70
|
+
class: "field"
|
|
71
|
+
}, Ae = {
|
|
72
|
+
key: 5,
|
|
73
|
+
class: "field w-100"
|
|
74
|
+
}, Re = {
|
|
75
|
+
key: 6,
|
|
76
|
+
class: "field"
|
|
77
|
+
}, Ge = {
|
|
78
|
+
key: 7,
|
|
79
|
+
class: "field"
|
|
80
|
+
}, Ie = {
|
|
81
|
+
key: 8,
|
|
82
|
+
class: "field"
|
|
83
|
+
}, Le = {
|
|
84
|
+
key: 9,
|
|
85
|
+
class: "field"
|
|
86
|
+
}, ze = {
|
|
87
|
+
key: 10,
|
|
88
|
+
class: "field"
|
|
89
|
+
}, Me = {
|
|
90
|
+
key: 11,
|
|
91
|
+
class: "field"
|
|
92
|
+
}, Pe = {
|
|
93
|
+
key: 12,
|
|
94
|
+
class: "field w-100"
|
|
95
|
+
}, Be = {
|
|
96
|
+
key: 13,
|
|
97
|
+
class: "field"
|
|
98
|
+
}, Ke = {
|
|
99
|
+
key: 14,
|
|
100
|
+
class: "field"
|
|
101
|
+
}, Ye = {
|
|
102
|
+
key: 15,
|
|
103
|
+
class: "field"
|
|
104
|
+
}, je = {
|
|
105
|
+
key: 16,
|
|
106
|
+
class: "field"
|
|
107
|
+
}, Fe = {
|
|
108
|
+
key: 17,
|
|
109
|
+
class: "field"
|
|
110
|
+
}, Ze = {
|
|
111
|
+
key: 18,
|
|
112
|
+
class: "field"
|
|
113
|
+
}, Qe = {
|
|
114
|
+
key: 19,
|
|
115
|
+
class: "field w-100"
|
|
116
|
+
}, We = {
|
|
117
|
+
key: 20,
|
|
118
|
+
class: "field"
|
|
119
|
+
}, Je = {
|
|
120
|
+
key: 21,
|
|
121
|
+
class: "field"
|
|
122
|
+
}, Xe = {
|
|
123
|
+
key: 22,
|
|
124
|
+
class: "field"
|
|
125
|
+
}, _e = {
|
|
126
|
+
key: 23,
|
|
127
|
+
class: "field"
|
|
128
|
+
}, xe = {
|
|
129
|
+
key: 24,
|
|
130
|
+
class: "field"
|
|
131
|
+
}, eo = {
|
|
132
|
+
key: 25,
|
|
133
|
+
class: "field w-100"
|
|
134
|
+
}, oo = {
|
|
135
|
+
class: /* @__PURE__ */ p([
|
|
136
|
+
"actions flex-shrink-0",
|
|
137
|
+
"flex items-center justify-between"
|
|
138
|
+
])
|
|
139
|
+
}, so = {
|
|
140
|
+
key: 4,
|
|
141
|
+
class: "animate-shimmer bg-gray-30 w-full h-4 my-4"
|
|
142
|
+
}, lo = {
|
|
143
|
+
key: 5,
|
|
144
|
+
class: "flex items-center mt-0.5"
|
|
145
|
+
}, to = { class: "text-xs text-inkwell-0" };
|
|
146
|
+
function io(e, s, ro, no, ao, po) {
|
|
147
|
+
const u = y("q-icon"), c = y("q-tooltip"), b = y("q-tag"), O = y("q-popover"), q = y("q-divider"), f = y("q-accordion"), V = y("q-activity-item"), g = y("q-input"), C = y("q-button"), N = y("q-comment-section"), m = y("q-select"), w = y("q-date-picker");
|
|
148
|
+
return e.showActionMenu || e.showComments || e.showGuestDetails && e.roomDetailsData.reservations && e.roomDetailsData.reservations[0] || e.showTickets || e.tagsList.length ? (l(), t("div", {
|
|
149
|
+
key: 0,
|
|
150
|
+
id: e.id ? `rdp-${e.id}` : "",
|
|
151
|
+
class: "room-detail component-container text-inkwell-30",
|
|
152
|
+
onMouseleave: s[49] || (s[49] = (o) => e.onHoverToggle(!1))
|
|
153
|
+
}, [
|
|
154
|
+
r(O, {
|
|
155
|
+
"model-value": e.open,
|
|
156
|
+
align: e.alignment,
|
|
157
|
+
position: e.positioning,
|
|
158
|
+
size: (!e.showTickets || e.showTickets && (!e.ticketsList || !e.ticketsList.length)) && !e.showComments && !e.showActionMenu ? "sm" : e.size,
|
|
159
|
+
onClose: s[47] || (s[47] = (o) => e.$emit("toggle", !1)),
|
|
160
|
+
"onUpdate:modelValue": s[48] || (s[48] = (o) => e.$emit("toggle", o))
|
|
161
|
+
}, {
|
|
162
|
+
trigger: a(() => [
|
|
163
|
+
n("div", U({
|
|
164
|
+
ref: "trigger",
|
|
165
|
+
id: e.id ? `rdp-${e.id}-trigger` : "",
|
|
166
|
+
class: "trigger-text"
|
|
167
|
+
}, {
|
|
168
|
+
[D(!e.hover && "click")]: s[0] || (s[0] = (o) => e.$emit("toggle", !e.open))
|
|
169
|
+
}, {
|
|
170
|
+
[D(e.hover && "mouseover")]: s[1] || (s[1] = (o) => e.onHoverToggle(!0))
|
|
171
|
+
}), [
|
|
172
|
+
A(e.$slots, "trigger", {}, () => [
|
|
173
|
+
h(d(e.trigger), 1)
|
|
174
|
+
], !0)
|
|
175
|
+
], 16, I)
|
|
176
|
+
]),
|
|
177
|
+
content: a(() => [
|
|
178
|
+
n("div", {
|
|
179
|
+
id: e.id ? `rdp-${e.id}-content` : "",
|
|
180
|
+
class: "popover-content w-full font-weight-normal cursor-default"
|
|
181
|
+
}, [
|
|
182
|
+
n("div", z, [
|
|
183
|
+
e.loading.pms || e.loading.roomNotices ? (l(), t("div", M)) : (l(), t("div", {
|
|
184
|
+
key: 1,
|
|
185
|
+
class: p([
|
|
186
|
+
"flex grow items-center mb-4",
|
|
187
|
+
{ "gap-3": e.showRoomName }
|
|
188
|
+
])
|
|
189
|
+
}, [
|
|
190
|
+
e.showRoomName ? (l(), t("h2", P, [
|
|
191
|
+
n("strong", null, d(e.$t("HC_GUESTROOM")) + " " + d(e.room.name), 1)
|
|
192
|
+
])) : i("", !0),
|
|
193
|
+
(e.occupied || e.cleanliness || e.tagsList.length && !e.showRoomName) && e.size !== "sm" ? (l(), t("div", {
|
|
194
|
+
key: 1,
|
|
195
|
+
class: p([
|
|
196
|
+
"flex items-center flex-wrap gap-x-2",
|
|
197
|
+
{ "gap-y-3": !e.showRoomName }
|
|
198
|
+
])
|
|
199
|
+
}, [
|
|
200
|
+
e.occupied ? (l(), k(c, {
|
|
201
|
+
key: 0,
|
|
202
|
+
class: "flex shrink-0 items-center"
|
|
203
|
+
}, {
|
|
204
|
+
trigger: a(() => [
|
|
205
|
+
r(u, {
|
|
206
|
+
icon: "user",
|
|
207
|
+
type: "fill",
|
|
208
|
+
color: e.occupied && e.hasComplaint ? "red-10" : "gray-30",
|
|
209
|
+
class: "!h-[1.625rem] !w-[1.625rem]",
|
|
210
|
+
size: "md"
|
|
211
|
+
}, null, 8, ["color"])
|
|
212
|
+
]),
|
|
213
|
+
content: a(() => [
|
|
214
|
+
e.occupancyTooltipContent ? (l(), t("div", B, d(e.$t(e.occupancyTooltipContent)), 1)) : i("", !0)
|
|
215
|
+
]),
|
|
216
|
+
_: 1
|
|
217
|
+
})) : i("", !0),
|
|
218
|
+
e.cleanliness ? (l(), k(c, {
|
|
219
|
+
key: 1,
|
|
220
|
+
class: "flex shrink-0 items-center"
|
|
221
|
+
}, {
|
|
222
|
+
trigger: a(() => [
|
|
223
|
+
r(u, {
|
|
224
|
+
icon: "spray-bottle",
|
|
225
|
+
type: "fill",
|
|
226
|
+
color: e.cleanlinessColor,
|
|
227
|
+
size: "md",
|
|
228
|
+
class: "mt-[0.0612rem]"
|
|
229
|
+
}, null, 8, ["color"])
|
|
230
|
+
]),
|
|
231
|
+
content: a(() => [
|
|
232
|
+
e.cleanlinessTooltipContent ? (l(), t("div", K, d(e.cleanlinessTooltipContent), 1)) : i("", !0)
|
|
233
|
+
]),
|
|
234
|
+
_: 1
|
|
235
|
+
})) : i("", !0),
|
|
236
|
+
e.tagsList.length && !e.showRoomName ? (l(!0), t(T, { key: 2 }, v(e.tagsList, (o) => (l(), t("a", {
|
|
237
|
+
key: o,
|
|
238
|
+
href: typeof o == "object" && o.id && o.name ? `/roomsbook/notice.php?id=${o.id}` : "",
|
|
239
|
+
class: "capitalize"
|
|
240
|
+
}, [
|
|
241
|
+
r(b, {
|
|
242
|
+
class: p([
|
|
243
|
+
"!text-xs !leading-4",
|
|
244
|
+
"shrink-0 max-w-[100px] !h-auto",
|
|
245
|
+
"!py-[0.1875rem] !px-[0.4375rem] border",
|
|
246
|
+
"border-orange-10",
|
|
247
|
+
{ pulse: o.isNew }
|
|
248
|
+
]),
|
|
249
|
+
"bg-color": "bg-yellow-0",
|
|
250
|
+
"text-color": "text-inkwell-30"
|
|
251
|
+
}, {
|
|
252
|
+
default: a(() => [
|
|
253
|
+
h(d(typeof o == "object" && o.id && o.name ? o.name : o), 1)
|
|
254
|
+
]),
|
|
255
|
+
_: 2
|
|
256
|
+
}, 1032, ["class"])
|
|
257
|
+
], 8, Y))), 128)) : i("", !0)
|
|
258
|
+
], 2)) : i("", !0)
|
|
259
|
+
], 2)),
|
|
260
|
+
n("div", j, [
|
|
261
|
+
e.showActionMenu && (e.showActionsLink || !e.hasGuestCallback && e.showGuestCallback || e.showComments || e.showGuestDetails) ? (l(), k(O, {
|
|
262
|
+
key: 0,
|
|
263
|
+
modelValue: e.actionMenuOpen,
|
|
264
|
+
"onUpdate:modelValue": s[7] || (s[7] = (o) => e.actionMenuOpen = o),
|
|
265
|
+
"has-caret": !1,
|
|
266
|
+
align: "right",
|
|
267
|
+
class: "action-menu mr-1",
|
|
268
|
+
size: "md",
|
|
269
|
+
onClose: s[8] || (s[8] = (o) => e.actionMenuOpen = !1)
|
|
270
|
+
}, {
|
|
271
|
+
trigger: a(() => [
|
|
272
|
+
r(u, {
|
|
273
|
+
class: "popover-action rounded-full cursor-pointer",
|
|
274
|
+
icon: "ellipsis-h",
|
|
275
|
+
size: "md",
|
|
276
|
+
type: "fill",
|
|
277
|
+
onClick: s[2] || (s[2] = (o) => e.actionMenuOpen = !e.actionMenuOpen)
|
|
278
|
+
})
|
|
279
|
+
]),
|
|
280
|
+
content: a(() => [
|
|
281
|
+
n("ul", F, [
|
|
282
|
+
e.showActionsLink ? (l(), t("li", {
|
|
283
|
+
key: 0,
|
|
284
|
+
class: p([
|
|
285
|
+
"flex items-center",
|
|
286
|
+
"icon-container cursor-pointer",
|
|
287
|
+
"text-inkwell-30 px-2 py-1 mt-2",
|
|
288
|
+
{
|
|
289
|
+
"mb-2": !e.showGuestDetails && (e.hasGuestCallback || !e.showGuestCallback) && !e.showComments
|
|
290
|
+
}
|
|
291
|
+
]),
|
|
292
|
+
onClick: s[3] || (s[3] = (...o) => e.openRequest && e.openRequest(...o))
|
|
293
|
+
}, [
|
|
294
|
+
r(u, {
|
|
295
|
+
class: "shrink-0 mr-1 p-1",
|
|
296
|
+
color: "gray-25",
|
|
297
|
+
icon: "plus",
|
|
298
|
+
size: "md",
|
|
299
|
+
type: ""
|
|
300
|
+
}),
|
|
301
|
+
n("div", Z, d(e.$t("HC_ACTION")), 1)
|
|
302
|
+
], 2)) : i("", !0),
|
|
303
|
+
!e.hasGuestCallback && e.showGuestCallback ? (l(), t("li", {
|
|
304
|
+
key: 1,
|
|
305
|
+
class: p([
|
|
306
|
+
"flex items-center",
|
|
307
|
+
"icon-container cursor-pointer",
|
|
308
|
+
"text-inkwell-30 px-2 py-1",
|
|
309
|
+
{ "mb-2": !e.showGuestDetails && !e.showComments },
|
|
310
|
+
{ "mt-2": !e.showActionsLink }
|
|
311
|
+
]),
|
|
312
|
+
onClick: s[4] || (s[4] = (...o) => e.createCallback && e.createCallback(...o))
|
|
313
|
+
}, [
|
|
314
|
+
r(u, {
|
|
315
|
+
class: "shrink-0 mr-1 p-0.5",
|
|
316
|
+
color: "gray-25",
|
|
317
|
+
icon: "phone-plus",
|
|
318
|
+
size: "md",
|
|
319
|
+
type: "outline"
|
|
320
|
+
}),
|
|
321
|
+
n("div", Q, d(e.$t("HC_GUEST_SATISFACTION_CALL")), 1)
|
|
322
|
+
], 2)) : i("", !0),
|
|
323
|
+
e.showComments ? (l(), t("li", {
|
|
324
|
+
key: 2,
|
|
325
|
+
class: p([
|
|
326
|
+
"flex items-center",
|
|
327
|
+
"icon-container cursor-pointer",
|
|
328
|
+
"text-inkwell-30 px-2 py-1",
|
|
329
|
+
{ "mb-2": !e.showGuestDetails },
|
|
330
|
+
{ "mt-2": !e.showActionsLink && (e.hasGuestCallback || !e.showGuestCallback) }
|
|
331
|
+
]),
|
|
332
|
+
onClick: s[5] || (s[5] = (...o) => e.onClickEditConnectGuest && e.onClickEditConnectGuest(...o))
|
|
333
|
+
}, [
|
|
334
|
+
r(u, {
|
|
335
|
+
class: "shrink-0 mr-1 p-1",
|
|
336
|
+
color: "gray-25",
|
|
337
|
+
icon: "pencil",
|
|
338
|
+
size: "md",
|
|
339
|
+
type: "outline"
|
|
340
|
+
}),
|
|
341
|
+
n("div", W, d(e.$t("HC_EDIT_INFORMATION")), 1)
|
|
342
|
+
], 2)) : i("", !0),
|
|
343
|
+
e.showGuestDetails ? (l(), t("li", {
|
|
344
|
+
key: 3,
|
|
345
|
+
class: p([
|
|
346
|
+
"flex items-center",
|
|
347
|
+
"icon-container cursor-pointer",
|
|
348
|
+
"text-inkwell-30 px-2 py-1 mb-2",
|
|
349
|
+
{ "mt-2": !e.showActionsLink && (e.hasGuestCallback || !e.showGuestCallback) && !e.showComments }
|
|
350
|
+
]),
|
|
351
|
+
onClick: s[6] || (s[6] = (...o) => e.refreshPMSData && e.refreshPMSData(...o))
|
|
352
|
+
}, [
|
|
353
|
+
r(u, {
|
|
354
|
+
class: "shrink-0 mr-1 p-1",
|
|
355
|
+
color: "gray-25",
|
|
356
|
+
icon: "refresh",
|
|
357
|
+
size: "md",
|
|
358
|
+
type: ""
|
|
359
|
+
}),
|
|
360
|
+
n("div", J, d(e.$t("HC_REFRESH_PMS_DATA")), 1)
|
|
361
|
+
], 2)) : i("", !0)
|
|
362
|
+
])
|
|
363
|
+
]),
|
|
364
|
+
_: 1
|
|
365
|
+
}, 8, ["modelValue"])) : i("", !0),
|
|
366
|
+
n("div", X, [
|
|
367
|
+
r(c, null, {
|
|
368
|
+
trigger: a(() => [
|
|
369
|
+
r(u, {
|
|
370
|
+
icon: "close",
|
|
371
|
+
size: "md",
|
|
372
|
+
type: "",
|
|
373
|
+
class: "popover-action rounded-full cursor-pointer p-1",
|
|
374
|
+
onClick: s[9] || (s[9] = (o) => e.$emit("toggle", !1))
|
|
375
|
+
})
|
|
376
|
+
]),
|
|
377
|
+
content: a(() => [
|
|
378
|
+
h(d(e.$t("HC_CLOSE")), 1)
|
|
379
|
+
]),
|
|
380
|
+
_: 1
|
|
381
|
+
})
|
|
382
|
+
])
|
|
383
|
+
])
|
|
384
|
+
]),
|
|
385
|
+
e.loading.pms && e.size === "sm" ? (l(), t("div", _)) : !e.loading.pms && (e.occupied || e.cleanliness) && e.size === "sm" ? (l(), t("div", x, [
|
|
386
|
+
e.occupied ? (l(), k(u, {
|
|
387
|
+
key: 0,
|
|
388
|
+
icon: "user",
|
|
389
|
+
type: "fill",
|
|
390
|
+
color: e.occupied && e.hasComplaint ? "red-10" : "gray-30",
|
|
391
|
+
size: "sm"
|
|
392
|
+
}, null, 8, ["color"])) : i("", !0),
|
|
393
|
+
e.cleanliness ? (l(), k(u, {
|
|
394
|
+
key: 1,
|
|
395
|
+
icon: "spray-bottle",
|
|
396
|
+
type: "fill",
|
|
397
|
+
color: e.cleanlinessColor,
|
|
398
|
+
size: "sm"
|
|
399
|
+
}, null, 8, ["color"])) : i("", !0)
|
|
400
|
+
])) : i("", !0),
|
|
401
|
+
e.loading.roomNotices ? (l(), t("div", ee)) : !e.loading.roomNotices && e.tagsList.length && e.showRoomName ? (l(), t("div", oe, [
|
|
402
|
+
(l(!0), t(T, null, v(e.tagsList, (o) => (l(), t("a", {
|
|
403
|
+
key: o,
|
|
404
|
+
href: typeof o == "object" && o.id && o.name ? `/roomsbook/notice.php?id=${o.id}` : "",
|
|
405
|
+
class: "mr-2 mb-1 capitalize"
|
|
406
|
+
}, [
|
|
407
|
+
r(b, {
|
|
408
|
+
class: p([
|
|
409
|
+
"!text-tiny !leading-4",
|
|
410
|
+
"shrink-0 max-w-[100px] !h-auto",
|
|
411
|
+
"!py-0.5 !px-1.5 border",
|
|
412
|
+
"border-orange-10",
|
|
413
|
+
{ pulse: o.isNew }
|
|
414
|
+
]),
|
|
415
|
+
"bg-color": "bg-yellow-0",
|
|
416
|
+
"text-color": "text-inkwell-30"
|
|
417
|
+
}, {
|
|
418
|
+
default: a(() => [
|
|
419
|
+
h(d(typeof o == "object" && o.id && o.name ? o.name : o), 1)
|
|
420
|
+
]),
|
|
421
|
+
_: 2
|
|
422
|
+
}, 1032, ["class"])
|
|
423
|
+
], 8, se))), 128))
|
|
424
|
+
])) : i("", !0),
|
|
425
|
+
n("div", {
|
|
426
|
+
class: p(["accordions", { closed: e.showCreateRequest }])
|
|
427
|
+
}, [
|
|
428
|
+
e.showGuestDetails && e.roomDetailsData.reservations && e.roomDetailsData.reservations[0] ? (l(), k(f, {
|
|
429
|
+
key: 0,
|
|
430
|
+
modelValue: e.expandGuestInfo,
|
|
431
|
+
"onUpdate:modelValue": s[11] || (s[11] = (o) => e.expandGuestInfo = o),
|
|
432
|
+
class: "mb-3",
|
|
433
|
+
"content-class": "!px-0 !pt-3 !pb-0"
|
|
434
|
+
}, {
|
|
435
|
+
toggle: a(() => [
|
|
436
|
+
n("div", {
|
|
437
|
+
class: "flex items-center cursor-pointer",
|
|
438
|
+
onClick: s[10] || (s[10] = (o) => e.expandGuestInfo = !e.expandGuestInfo)
|
|
439
|
+
}, [
|
|
440
|
+
n("div", le, d(e.$t("HC_GUEST_INFORMATION")), 1),
|
|
441
|
+
r(q, { class: "grow" }),
|
|
442
|
+
r(u, {
|
|
443
|
+
class: p([
|
|
444
|
+
"ml-2 transition-transform",
|
|
445
|
+
{ "rotate-90": e.expandGuestInfo }
|
|
446
|
+
]),
|
|
447
|
+
color: "gray-20",
|
|
448
|
+
icon: "chevron-right",
|
|
449
|
+
type: ""
|
|
450
|
+
}, null, 8, ["class"])
|
|
451
|
+
])
|
|
452
|
+
]),
|
|
453
|
+
content: a(() => [
|
|
454
|
+
e.loading.pms ? (l(), t("div", te)) : (l(), t("div", ie, [
|
|
455
|
+
e.roomDetailsData.reservations[0].guestName ? (l(), t("p", re, [
|
|
456
|
+
n("strong", null, d(e.roomDetailsData.reservations[0].guestName), 1)
|
|
457
|
+
])) : i("", !0),
|
|
458
|
+
n("div", {
|
|
459
|
+
class: p([
|
|
460
|
+
"stay-details-container flex",
|
|
461
|
+
e.size === "sm" ? "flex-col" : "flex-row gap-3"
|
|
462
|
+
])
|
|
463
|
+
}, [
|
|
464
|
+
e.roomDetailsData.reservations[0].confirmationNumber ? (l(), t("div", ne, [
|
|
465
|
+
n("div", de, d(e.$t("HC_RESERVATION")) + ": ", 1),
|
|
466
|
+
n("div", ae, d(e.roomDetailsData.reservations[0].confirmationNumber), 1)
|
|
467
|
+
])) : i("", !0),
|
|
468
|
+
e.stayDetails ? (l(), t("div", pe, [
|
|
469
|
+
n("div", ue, d(e.$t("HC_STAY")) + ": ", 1),
|
|
470
|
+
n("div", me, d(e.stayDetails), 1)
|
|
471
|
+
])) : i("", !0)
|
|
472
|
+
], 2)
|
|
473
|
+
]))
|
|
474
|
+
]),
|
|
475
|
+
_: 1
|
|
476
|
+
}, 8, ["modelValue"])) : i("", !0),
|
|
477
|
+
e.showTickets ? (l(), k(f, {
|
|
478
|
+
key: 1,
|
|
479
|
+
modelValue: e.expandTickets,
|
|
480
|
+
"onUpdate:modelValue": s[13] || (s[13] = (o) => e.expandTickets = o),
|
|
481
|
+
class: "mb-3",
|
|
482
|
+
"content-class": "!px-0 !pt-3 !pb-0"
|
|
483
|
+
}, {
|
|
484
|
+
toggle: a(() => [
|
|
485
|
+
n("div", {
|
|
486
|
+
class: "flex items-center cursor-pointer",
|
|
487
|
+
onClick: s[12] || (s[12] = (o) => e.expandTickets = !e.expandTickets)
|
|
488
|
+
}, [
|
|
489
|
+
n("div", ye, d(e.$t("HC_OPEN_TICKETS")), 1),
|
|
490
|
+
r(q, { class: "grow" }),
|
|
491
|
+
r(u, {
|
|
492
|
+
class: p([
|
|
493
|
+
"ml-2 transition-transform",
|
|
494
|
+
{ "rotate-90": e.expandTickets }
|
|
495
|
+
]),
|
|
496
|
+
color: "gray-20",
|
|
497
|
+
icon: "chevron-right",
|
|
498
|
+
type: ""
|
|
499
|
+
}, null, 8, ["class"])
|
|
500
|
+
])
|
|
501
|
+
]),
|
|
502
|
+
content: a(() => [
|
|
503
|
+
e.loading.tickets ? (l(), t("div", ke)) : e.ticketsList.length ? (l(), t("ul", ge, [
|
|
504
|
+
(l(!0), t(T, null, v(e.ticketsList, (o, $) => (l(), t("li", {
|
|
505
|
+
key: o.id,
|
|
506
|
+
id: `open-ticket-${o.id}`
|
|
507
|
+
}, [
|
|
508
|
+
r(V, {
|
|
509
|
+
class: p([
|
|
510
|
+
{
|
|
511
|
+
"mt-3": $ > 0,
|
|
512
|
+
pulse: o.isNew
|
|
513
|
+
}
|
|
514
|
+
]),
|
|
515
|
+
"is-clickable": !0,
|
|
516
|
+
text: o.name,
|
|
517
|
+
time: e.getHowLongAgo(o.started?.dateUtc),
|
|
518
|
+
type: o.type,
|
|
519
|
+
onClick: (uo) => e.onClickTicket(o)
|
|
520
|
+
}, null, 8, ["class", "text", "time", "type", "onClick"])
|
|
521
|
+
], 8, he))), 128))
|
|
522
|
+
])) : (l(), t("p", we, d(e.$t("HC_THERE_ARE_NO_OPEN_TICKETS_YET")), 1))
|
|
523
|
+
]),
|
|
524
|
+
_: 1
|
|
525
|
+
}, 8, ["modelValue"])) : i("", !0),
|
|
526
|
+
e.showComments ? (l(), k(f, {
|
|
527
|
+
key: 2,
|
|
528
|
+
modelValue: e.expandComments,
|
|
529
|
+
"onUpdate:modelValue": s[16] || (s[16] = (o) => e.expandComments = o),
|
|
530
|
+
class: "messages mb-3",
|
|
531
|
+
"content-class": "!px-0 !pt-3 !pb-0"
|
|
532
|
+
}, {
|
|
533
|
+
toggle: a(() => [
|
|
534
|
+
n("div", {
|
|
535
|
+
class: "flex items-center cursor-pointer",
|
|
536
|
+
onClick: s[14] || (s[14] = (o) => e.expandComments = !e.expandComments)
|
|
537
|
+
}, [
|
|
538
|
+
n("div", qe, d(e.$t("HC_GUEST_CONNECT")), 1),
|
|
539
|
+
r(q, { class: "grow" }),
|
|
540
|
+
r(u, {
|
|
541
|
+
class: p([
|
|
542
|
+
"ml-2 transition-transform",
|
|
543
|
+
{ "rotate-90": e.expandComments }
|
|
544
|
+
]),
|
|
545
|
+
color: "gray-20",
|
|
546
|
+
icon: "chevron-right",
|
|
547
|
+
type: ""
|
|
548
|
+
}, null, 8, ["class"])
|
|
549
|
+
])
|
|
550
|
+
]),
|
|
551
|
+
content: a(() => [
|
|
552
|
+
n("div", {
|
|
553
|
+
class: p([
|
|
554
|
+
"quick-replies-container",
|
|
555
|
+
"flex flex-col",
|
|
556
|
+
{ show: e.quickReplyOpen },
|
|
557
|
+
{
|
|
558
|
+
"justify-end": !!e.filteredReplies.length
|
|
559
|
+
},
|
|
560
|
+
{
|
|
561
|
+
"justify-center": !e.filteredReplies.length
|
|
562
|
+
}
|
|
563
|
+
])
|
|
564
|
+
}, [
|
|
565
|
+
e.filteredReplies.length ? (l(), t("div", Te, [
|
|
566
|
+
(l(!0), t(T, null, v(e.filteredReplies, (o) => (l(), t("div", {
|
|
567
|
+
key: o,
|
|
568
|
+
class: p([
|
|
569
|
+
"quick-reply text-sm text-inkwell-20",
|
|
570
|
+
{ active: e.comment }
|
|
571
|
+
]),
|
|
572
|
+
onClick: ($) => e.onSelectQuickReply(o)
|
|
573
|
+
}, [
|
|
574
|
+
n("div", null, d(o), 1)
|
|
575
|
+
], 10, ve))), 128))
|
|
576
|
+
])) : (l(), t("div", ce, d(e.$t("HC_NO_RESULTS_FOUND_FOR")) + ' "' + d(e.comment) + '". ', 1))
|
|
577
|
+
], 2),
|
|
578
|
+
r(N, {
|
|
579
|
+
comments: e.messages,
|
|
580
|
+
"show-heading": !1,
|
|
581
|
+
"show-no-comments": !1
|
|
582
|
+
}, {
|
|
583
|
+
default: a(() => [
|
|
584
|
+
n("div", fe, [
|
|
585
|
+
r(g, {
|
|
586
|
+
id: "comment-field",
|
|
587
|
+
modelValue: e.comment,
|
|
588
|
+
"onUpdate:modelValue": s[15] || (s[15] = (o) => e.comment = o),
|
|
589
|
+
classes: [
|
|
590
|
+
"text-sm pr-5 py-1",
|
|
591
|
+
{ "border-gray-12": !e.quickReplyOpen },
|
|
592
|
+
{ "border-blue-sky text-blue-sky": e.quickReplyOpen }
|
|
593
|
+
],
|
|
594
|
+
icon: e.quickReplyOpen ? "search" : "",
|
|
595
|
+
placeholder: e.quickReplyOpen ? e.$t("HC_SEARCH_REPLIES") : e.$t("HC_WRITE_A_MESSAGE"),
|
|
596
|
+
class: "w-100 mr-2",
|
|
597
|
+
size: "sm",
|
|
598
|
+
type: "textarea",
|
|
599
|
+
onKeydown: H(e.sendChatMessage, ["enter"])
|
|
600
|
+
}, null, 8, ["modelValue", "classes", "icon", "placeholder", "onKeydown"]),
|
|
601
|
+
n("div", {
|
|
602
|
+
id: "hidden-text",
|
|
603
|
+
class: "text-sm",
|
|
604
|
+
innerHTML: e.comment
|
|
605
|
+
}, null, 8, Ce),
|
|
606
|
+
r(u, {
|
|
607
|
+
id: "quick-reply-trigger",
|
|
608
|
+
icon: (e.quickReplyOpen, "comment-lines"),
|
|
609
|
+
class: "cursor-pointer !absolute mb-1",
|
|
610
|
+
color: "blue-sky",
|
|
611
|
+
size: "sm",
|
|
612
|
+
type: e.quickReplyOpen ? "fill" : "outline",
|
|
613
|
+
onClick: e.toggleQuickReply
|
|
614
|
+
}, null, 8, ["icon", "type", "onClick"]),
|
|
615
|
+
r(C, {
|
|
616
|
+
id: "send-comment",
|
|
617
|
+
disabled: !e.comment || e.quickReplyOpen,
|
|
618
|
+
class: "!absolute btn-subtle px-2 mr-1 text-sm",
|
|
619
|
+
size: "sm",
|
|
620
|
+
onClick: e.sendChatMessage
|
|
621
|
+
}, {
|
|
622
|
+
default: a(() => [
|
|
623
|
+
h(d(e.$t("HC_SEND")), 1)
|
|
624
|
+
]),
|
|
625
|
+
_: 1
|
|
626
|
+
}, 8, ["disabled", "onClick"])
|
|
627
|
+
])
|
|
628
|
+
]),
|
|
629
|
+
_: 1
|
|
630
|
+
}, 8, ["comments"])
|
|
631
|
+
]),
|
|
632
|
+
_: 1
|
|
633
|
+
}, 8, ["modelValue"])) : i("", !0)
|
|
634
|
+
], 2),
|
|
635
|
+
n("div", {
|
|
636
|
+
id: "add-ticket",
|
|
637
|
+
class: p(["add-ticket overflow-hidden", { open: e.showCreateRequest }])
|
|
638
|
+
}, [
|
|
639
|
+
r(q, {
|
|
640
|
+
class: "text-base section-header mb-3",
|
|
641
|
+
align: "left",
|
|
642
|
+
color: "inkwell-30"
|
|
643
|
+
}, {
|
|
644
|
+
default: a(() => [
|
|
645
|
+
n("div", be, [
|
|
646
|
+
n("div", Oe, d(e.$t("HC_ACTION")), 1)
|
|
647
|
+
])
|
|
648
|
+
]),
|
|
649
|
+
_: 1
|
|
650
|
+
}),
|
|
651
|
+
n("form", {
|
|
652
|
+
class: "flex flex-col",
|
|
653
|
+
onSubmit: s[46] || (s[46] = E((...o) => e.onCreateRequestSubmit && e.onCreateRequestSubmit(...o), ["prevent"]))
|
|
654
|
+
}, [
|
|
655
|
+
e.showCreateRequest ? (l(), t("div", $e, [
|
|
656
|
+
n("div", Ee, [
|
|
657
|
+
n("div", De, [
|
|
658
|
+
r(m, {
|
|
659
|
+
id: "todo-type",
|
|
660
|
+
selected: e.requestType,
|
|
661
|
+
options: e.todoOptions,
|
|
662
|
+
placeholder: e.$t("HC_ACTION_TYPE"),
|
|
663
|
+
condensed: "",
|
|
664
|
+
required: "",
|
|
665
|
+
"onUpdate:modelValue": s[17] || (s[17] = (o) => e.onSelectToDo(o))
|
|
666
|
+
}, null, 8, ["selected", "options", "placeholder"])
|
|
667
|
+
]),
|
|
668
|
+
e.requestType && e.requestType.id === "room_notice" ? (l(), t("div", Ve, [
|
|
669
|
+
r(m, {
|
|
670
|
+
id: "todo-notice-issue",
|
|
671
|
+
selected: e.roomNotice.issue,
|
|
672
|
+
options: e.itemOptionsList,
|
|
673
|
+
disabled: !e.itemOptionsList.length,
|
|
674
|
+
placeholder: e.$t("HC_ITEM"),
|
|
675
|
+
condensed: "",
|
|
676
|
+
required: "",
|
|
677
|
+
"onUpdate:modelValue": s[18] || (s[18] = (o) => e.roomNotice.issue = o)
|
|
678
|
+
}, null, 8, ["selected", "options", "disabled", "placeholder"])
|
|
679
|
+
])) : i("", !0),
|
|
680
|
+
e.requestType && e.requestType.id === "room_notice" && e.roomNotice.issue ? (l(), t("div", Ne, [
|
|
681
|
+
r(w, {
|
|
682
|
+
id: "todo-notice-start-date",
|
|
683
|
+
value: e.roomNotice.startDate,
|
|
684
|
+
"is-today-min": !0,
|
|
685
|
+
"property-timezone": e.propertyTimeZone,
|
|
686
|
+
locale: e.locale,
|
|
687
|
+
placeholder: e.$t("HC_START_DATE"),
|
|
688
|
+
"calendar-classes": "mt-0",
|
|
689
|
+
class: "icon-right",
|
|
690
|
+
"input-classes": "datepicker-md text-inkwell-40",
|
|
691
|
+
"wrapper-classes": "ui-overhaul",
|
|
692
|
+
condensed: "",
|
|
693
|
+
required: "",
|
|
694
|
+
"onUpdate:modelValue": s[19] || (s[19] = (o) => e.roomNotice.startDate = o)
|
|
695
|
+
}, null, 8, ["value", "property-timezone", "locale", "placeholder"])
|
|
696
|
+
])) : i("", !0),
|
|
697
|
+
e.requestType && e.requestType.id === "room_notice" && e.roomNotice.issue ? (l(), t("div", Se, [
|
|
698
|
+
r(w, {
|
|
699
|
+
id: "todo-notice-end-date",
|
|
700
|
+
value: e.roomNotice.endDate,
|
|
701
|
+
"is-today-min": !0,
|
|
702
|
+
"minimum-date": e.$datetime(e.roomNotice.startDate).toDate(),
|
|
703
|
+
"property-timezone": e.propertyTimeZone,
|
|
704
|
+
locale: e.locale,
|
|
705
|
+
placeholder: e.$t("HC_END_DATE"),
|
|
706
|
+
"calendar-classes": "mt-0",
|
|
707
|
+
class: "icon-right",
|
|
708
|
+
"input-classes": "datepicker-md text-inkwell-40",
|
|
709
|
+
"wrapper-classes": "ui-overhaul",
|
|
710
|
+
condensed: "",
|
|
711
|
+
required: "",
|
|
712
|
+
"onUpdate:modelValue": s[20] || (s[20] = (o) => e.roomNotice.endDate = o)
|
|
713
|
+
}, null, 8, ["value", "minimum-date", "property-timezone", "locale", "placeholder"])
|
|
714
|
+
])) : i("", !0),
|
|
715
|
+
e.requestType && e.requestType.id === "room_notice" && e.roomNotice.issue ? (l(), t("div", He, [
|
|
716
|
+
r(g, {
|
|
717
|
+
id: "todo-notice-notes",
|
|
718
|
+
modelValue: e.roomNotice.notes,
|
|
719
|
+
"onUpdate:modelValue": s[21] || (s[21] = (o) => e.roomNotice.notes = o),
|
|
720
|
+
placeholder: e.$t("HC_WRITE_A_MESSAGE"),
|
|
721
|
+
classes: "text-inkwell-40 border-gray-12 mb-2",
|
|
722
|
+
type: "textarea",
|
|
723
|
+
condensed: ""
|
|
724
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
725
|
+
])) : i("", !0),
|
|
726
|
+
e.requestType && e.requestType.id === "complaint" ? (l(), t("div", Ue, [
|
|
727
|
+
r(m, {
|
|
728
|
+
id: "todo-complaint-problem",
|
|
729
|
+
selected: e.complaint.problem,
|
|
730
|
+
options: e.itemOptionsList,
|
|
731
|
+
disabled: !e.itemOptionsList.length,
|
|
732
|
+
multiple: !1,
|
|
733
|
+
placeholder: e.$t("HC_PROBLEM"),
|
|
734
|
+
condensed: "",
|
|
735
|
+
required: "",
|
|
736
|
+
"onUpdate:modelValue": s[22] || (s[22] = (o) => e.complaint.problem = o)
|
|
737
|
+
}, null, 8, ["selected", "options", "disabled", "placeholder"])
|
|
738
|
+
])) : i("", !0),
|
|
739
|
+
e.requestType && e.requestType.id === "complaint" && e.complaint.problem ? (l(), t("div", Ae, [
|
|
740
|
+
r(g, {
|
|
741
|
+
id: "guest-name",
|
|
742
|
+
modelValue: e.complaint.guestName,
|
|
743
|
+
"onUpdate:modelValue": s[23] || (s[23] = (o) => e.complaint.guestName = o),
|
|
744
|
+
placeholder: e.$t("HC_GUEST_NAME"),
|
|
745
|
+
classes: "text-inkwell-40 border-gray-12 ui-overhaul",
|
|
746
|
+
condensed: "",
|
|
747
|
+
required: ""
|
|
748
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
749
|
+
])) : i("", !0),
|
|
750
|
+
e.requestType && e.requestType.id === "complaint" && e.complaint.problem ? (l(), t("div", Re, [
|
|
751
|
+
r(g, {
|
|
752
|
+
id: "guest-phone",
|
|
753
|
+
modelValue: e.complaint.guestPhone,
|
|
754
|
+
"onUpdate:modelValue": s[24] || (s[24] = (o) => e.complaint.guestPhone = o),
|
|
755
|
+
placeholder: e.$t("HC_GUEST_PHONE_NUMBER"),
|
|
756
|
+
classes: "text-inkwell-40 border-gray-12 ui-overhaul",
|
|
757
|
+
condensed: ""
|
|
758
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
759
|
+
])) : i("", !0),
|
|
760
|
+
e.requestType && e.requestType.id === "complaint" && e.complaint.problem ? (l(), t("div", Ge, [
|
|
761
|
+
r(g, {
|
|
762
|
+
id: "guest-email",
|
|
763
|
+
modelValue: e.complaint.guestEmail,
|
|
764
|
+
"onUpdate:modelValue": s[25] || (s[25] = (o) => e.complaint.guestEmail = o),
|
|
765
|
+
placeholder: e.$t("HC_GUEST_EMAIL"),
|
|
766
|
+
classes: "text-inkwell-40 border-gray-12 ui-overhaul",
|
|
767
|
+
condensed: ""
|
|
768
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
769
|
+
])) : i("", !0),
|
|
770
|
+
e.requestType && e.requestType.id === "complaint" && e.complaint.problem ? (l(), t("div", Ie, [
|
|
771
|
+
r(g, {
|
|
772
|
+
id: "guest-loyalty",
|
|
773
|
+
modelValue: e.complaint.guestLoyalty,
|
|
774
|
+
"onUpdate:modelValue": s[26] || (s[26] = (o) => e.complaint.guestLoyalty = o),
|
|
775
|
+
placeholder: e.$t("HC_GUEST_LOYALTY"),
|
|
776
|
+
classes: "text-inkwell-40 border-gray-12 ui-overhaul",
|
|
777
|
+
condensed: ""
|
|
778
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
779
|
+
])) : i("", !0),
|
|
780
|
+
e.requestType && e.requestType.id === "complaint" && e.complaint.problem ? (l(), t("div", Le, [
|
|
781
|
+
r(m, {
|
|
782
|
+
id: "todo-complaint-mood",
|
|
783
|
+
selected: e.complaint.guestMood,
|
|
784
|
+
options: e.moodOptions,
|
|
785
|
+
disabled: !e.moodOptions.length,
|
|
786
|
+
placeholder: e.$t("HC_GUEST_MOOD"),
|
|
787
|
+
condensed: "",
|
|
788
|
+
required: "",
|
|
789
|
+
"onUpdate:modelValue": s[27] || (s[27] = (o) => e.complaint.guestMood = o)
|
|
790
|
+
}, null, 8, ["selected", "options", "disabled", "placeholder"])
|
|
791
|
+
])) : i("", !0),
|
|
792
|
+
e.requestType && e.requestType.id === "complaint" && e.complaint.problem ? (l(), t("div", ze, [
|
|
793
|
+
r(w, {
|
|
794
|
+
id: "todo-complaint-check-in",
|
|
795
|
+
value: e.$datetime(e.complaint.checkInDate).toDate(),
|
|
796
|
+
"is-today-min": !1,
|
|
797
|
+
"property-timezone": e.propertyTimeZone,
|
|
798
|
+
locale: e.locale,
|
|
799
|
+
placeholder: e.$t("HC_CHECK_IN_DATE"),
|
|
800
|
+
"calendar-classes": "mt-0",
|
|
801
|
+
class: "icon-right",
|
|
802
|
+
"input-classes": "datepicker-md text-inkwell-40",
|
|
803
|
+
"wrapper-classes": "ui-overhaul",
|
|
804
|
+
condensed: "",
|
|
805
|
+
required: "",
|
|
806
|
+
"onUpdate:modelValue": s[28] || (s[28] = (o) => e.complaint.checkInDate = o)
|
|
807
|
+
}, null, 8, ["value", "property-timezone", "locale", "placeholder"])
|
|
808
|
+
])) : i("", !0),
|
|
809
|
+
e.requestType && e.requestType.id === "complaint" && e.complaint.problem ? (l(), t("div", Me, [
|
|
810
|
+
r(w, {
|
|
811
|
+
id: "todo-complaint-check-out",
|
|
812
|
+
value: e.$datetime(e.complaint.checkOutDate).toDate(),
|
|
813
|
+
"is-today-min": !1,
|
|
814
|
+
"minimum-date": e.$datetime(e.complaint.checkInDate).toDate(),
|
|
815
|
+
"property-timezone": e.propertyTimeZone,
|
|
816
|
+
locale: e.locale,
|
|
817
|
+
placeholder: e.$t("HC_CHECK_OUT_DATE"),
|
|
818
|
+
"calendar-classes": "mt-0",
|
|
819
|
+
class: "icon-right",
|
|
820
|
+
"input-classes": "datepicker-md text-inkwell-40",
|
|
821
|
+
"wrapper-classes": "ui-overhaul",
|
|
822
|
+
condensed: "",
|
|
823
|
+
required: "",
|
|
824
|
+
"onUpdate:modelValue": s[29] || (s[29] = (o) => e.complaint.checkOutDate = o)
|
|
825
|
+
}, null, 8, ["value", "minimum-date", "property-timezone", "locale", "placeholder"])
|
|
826
|
+
])) : i("", !0),
|
|
827
|
+
e.requestType && e.requestType.id === "complaint" && e.complaint.problem ? (l(), t("div", Pe, [
|
|
828
|
+
r(g, {
|
|
829
|
+
id: "todo-complaint-notes",
|
|
830
|
+
modelValue: e.complaint.notes,
|
|
831
|
+
"onUpdate:modelValue": s[30] || (s[30] = (o) => e.complaint.notes = o),
|
|
832
|
+
placeholder: e.$t("HC_WRITE_A_MESSAGE"),
|
|
833
|
+
classes: "text-inkwell-40 border-gray-12 mb-2",
|
|
834
|
+
type: "textarea",
|
|
835
|
+
condensed: ""
|
|
836
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
837
|
+
])) : i("", !0),
|
|
838
|
+
e.requestType && e.requestType.id === "work_order" ? (l(), t("div", Be, [
|
|
839
|
+
r(m, {
|
|
840
|
+
id: "todo-work-order-item",
|
|
841
|
+
selected: e.workOrder.item,
|
|
842
|
+
options: e.itemOptionsList,
|
|
843
|
+
disabled: !e.itemOptionsList.length,
|
|
844
|
+
"group-selectable": !1,
|
|
845
|
+
placeholder: e.$t("HC_ITEM"),
|
|
846
|
+
"group-label": "group",
|
|
847
|
+
"group-values": "options",
|
|
848
|
+
condensed: "",
|
|
849
|
+
required: "",
|
|
850
|
+
"onUpdate:modelValue": s[31] || (s[31] = (o) => e.workOrder.item = o)
|
|
851
|
+
}, null, 8, ["selected", "options", "disabled", "placeholder"])
|
|
852
|
+
])) : i("", !0),
|
|
853
|
+
e.requestType && e.requestType.id === "work_order" && e.workOrder.item ? (l(), t("div", Ke, [
|
|
854
|
+
r(m, {
|
|
855
|
+
id: "todo-work-order-issue",
|
|
856
|
+
selected: e.workOrder.issue,
|
|
857
|
+
options: e.workOrderIssues,
|
|
858
|
+
disabled: !e.workOrderIssues.length,
|
|
859
|
+
placeholder: e.$t("HC_ISSUE"),
|
|
860
|
+
condensed: "",
|
|
861
|
+
required: "",
|
|
862
|
+
"onUpdate:modelValue": s[32] || (s[32] = (o) => e.workOrder.issue = o)
|
|
863
|
+
}, null, 8, ["selected", "options", "disabled", "placeholder"])
|
|
864
|
+
])) : i("", !0),
|
|
865
|
+
e.requestType && e.requestType.id === "work_order" && e.workOrder.item && e.workOrder.issue ? (l(), t("div", Ye, [
|
|
866
|
+
r(m, {
|
|
867
|
+
id: "todo-work-order-requested-by",
|
|
868
|
+
selected: e.workOrder.requestedBy,
|
|
869
|
+
options: e.requestedByOptions,
|
|
870
|
+
placeholder: e.$t("HC_REQUESTED_BY"),
|
|
871
|
+
condensed: "",
|
|
872
|
+
required: "",
|
|
873
|
+
"onUpdate:modelValue": s[33] || (s[33] = (o) => e.workOrder.requestedBy = o)
|
|
874
|
+
}, null, 8, ["selected", "options", "placeholder"])
|
|
875
|
+
])) : i("", !0),
|
|
876
|
+
e.requestType && e.requestType.id === "work_order" && e.workOrder.item && e.workOrder.issue ? (l(), t("div", je, [
|
|
877
|
+
r(m, {
|
|
878
|
+
id: "todo-work-order-assign-type",
|
|
879
|
+
selected: e.workOrder.assignType,
|
|
880
|
+
options: e.assignTypes,
|
|
881
|
+
placeholder: e.$t("HC_ASSIGN_TYPE"),
|
|
882
|
+
condensed: "",
|
|
883
|
+
required: "",
|
|
884
|
+
"onUpdate:modelValue": s[34] || (s[34] = (o) => e.workOrder.assignType = o)
|
|
885
|
+
}, null, 8, ["selected", "options", "placeholder"])
|
|
886
|
+
])) : i("", !0),
|
|
887
|
+
e.requestType && e.requestType.id === "work_order" && e.workOrder.item && e.workOrder.issue ? (l(), t("div", Fe, [
|
|
888
|
+
e.requestType && e.requestType.id === "work_order" && e.workOrder.item && e.workOrder.issue && e.workOrder.assignType && e.workOrder.assignType.id === 1 ? (l(), k(m, {
|
|
889
|
+
key: 0,
|
|
890
|
+
id: "todo-work-order-assign-type",
|
|
891
|
+
selected: e.workOrder.department,
|
|
892
|
+
options: e.departments,
|
|
893
|
+
disabled: !e.departments.length,
|
|
894
|
+
placeholder: e.$t("HC_ASSIGN_TO"),
|
|
895
|
+
condensed: "",
|
|
896
|
+
required: "",
|
|
897
|
+
"onUpdate:modelValue": s[35] || (s[35] = (o) => e.workOrder.department = o)
|
|
898
|
+
}, null, 8, ["selected", "options", "disabled", "placeholder"])) : i("", !0),
|
|
899
|
+
e.requestType && e.requestType.id === "work_order" && e.workOrder.item && e.workOrder.issue && e.workOrder.assignType && e.workOrder.assignType.id === 2 ? (l(), k(m, {
|
|
900
|
+
key: 1,
|
|
901
|
+
id: "todo-work-order-assign-type",
|
|
902
|
+
selected: e.workOrder.person,
|
|
903
|
+
options: e.departmentUsers,
|
|
904
|
+
disabled: !e.departmentUsers.length,
|
|
905
|
+
"group-selectable": !1,
|
|
906
|
+
placeholder: e.$t("HC_ASSIGN_TO"),
|
|
907
|
+
"group-label": "group",
|
|
908
|
+
"group-values": "options",
|
|
909
|
+
condensed: "",
|
|
910
|
+
required: "",
|
|
911
|
+
"onUpdate:modelValue": s[36] || (s[36] = (o) => e.workOrder.person = o)
|
|
912
|
+
}, null, 8, ["selected", "options", "disabled", "placeholder"])) : i("", !0)
|
|
913
|
+
])) : i("", !0),
|
|
914
|
+
e.requestType && e.requestType.id === "work_order" && e.workOrder.item && e.workOrder.issue ? (l(), t("div", Ze, [
|
|
915
|
+
r(w, {
|
|
916
|
+
id: "todo-work-order-due",
|
|
917
|
+
value: e.$datetime(e.workOrder.due).toDate(),
|
|
918
|
+
"is-today-min": !0,
|
|
919
|
+
"property-timezone": e.propertyTimeZone,
|
|
920
|
+
locale: e.locale,
|
|
921
|
+
placeholder: e.$t("HC_DUE_DATE"),
|
|
922
|
+
"calendar-classes": "mt-0",
|
|
923
|
+
class: "icon-right",
|
|
924
|
+
"input-classes": "datepicker-md text-inkwell-40",
|
|
925
|
+
"wrapper-classes": "ui-overhaul",
|
|
926
|
+
condensed: "",
|
|
927
|
+
required: "",
|
|
928
|
+
"onUpdate:modelValue": s[37] || (s[37] = (o) => e.workOrder.due = o)
|
|
929
|
+
}, null, 8, ["value", "property-timezone", "locale", "placeholder"])
|
|
930
|
+
])) : i("", !0),
|
|
931
|
+
e.requestType && e.requestType.id === "work_order" && e.workOrder.item && e.workOrder.issue ? (l(), t("div", Qe, [
|
|
932
|
+
r(g, {
|
|
933
|
+
id: "todo-work-order-notes",
|
|
934
|
+
modelValue: e.workOrder.notes,
|
|
935
|
+
"onUpdate:modelValue": s[38] || (s[38] = (o) => e.workOrder.notes = o),
|
|
936
|
+
placeholder: e.$t("HC_WRITE_A_MESSAGE"),
|
|
937
|
+
classes: "text-inkwell-40 border-gray-12 mb-2",
|
|
938
|
+
type: "textarea",
|
|
939
|
+
condensed: ""
|
|
940
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
941
|
+
])) : i("", !0),
|
|
942
|
+
e.requestType && e.requestType.id === "request" ? (l(), t("div", We, [
|
|
943
|
+
r(m, {
|
|
944
|
+
id: "todo-request-item",
|
|
945
|
+
selected: e.request.item,
|
|
946
|
+
options: e.itemOptionsList,
|
|
947
|
+
disabled: !e.itemOptionsList.length,
|
|
948
|
+
placeholder: e.$t("HC_ITEM"),
|
|
949
|
+
condensed: "",
|
|
950
|
+
required: "",
|
|
951
|
+
"onUpdate:modelValue": s[39] || (s[39] = (o) => e.request.item = o)
|
|
952
|
+
}, null, 8, ["selected", "options", "disabled", "placeholder"])
|
|
953
|
+
])) : i("", !0),
|
|
954
|
+
e.requestType && e.requestType.id === "request" && e.request.item ? (l(), t("div", Je, [
|
|
955
|
+
r(m, {
|
|
956
|
+
id: "todo-request-requested-by",
|
|
957
|
+
selected: e.request.requestedBy,
|
|
958
|
+
options: e.requestedByOptions,
|
|
959
|
+
placeholder: e.$t("HC_REQUESTED_BY"),
|
|
960
|
+
condensed: "",
|
|
961
|
+
required: "",
|
|
962
|
+
"onUpdate:modelValue": s[40] || (s[40] = (o) => e.request.requestedBy = o)
|
|
963
|
+
}, null, 8, ["selected", "options", "placeholder"])
|
|
964
|
+
])) : i("", !0),
|
|
965
|
+
e.requestType && e.requestType.id === "request" && e.request.item ? (l(), t("div", Xe, [
|
|
966
|
+
r(w, {
|
|
967
|
+
id: "todo-request-due",
|
|
968
|
+
value: e.$datetime(e.request.due).toDate(),
|
|
969
|
+
"is-today-min": !0,
|
|
970
|
+
"property-timezone": e.propertyTimeZone,
|
|
971
|
+
locale: e.locale,
|
|
972
|
+
placeholder: e.$t("HC_DUE_DATE"),
|
|
973
|
+
"calendar-classes": "mt-0",
|
|
974
|
+
class: "icon-right",
|
|
975
|
+
"input-classes": "datepicker-md text-inkwell-40",
|
|
976
|
+
"wrapper-classes": "ui-overhaul",
|
|
977
|
+
condensed: "",
|
|
978
|
+
required: "",
|
|
979
|
+
"onUpdate:modelValue": s[41] || (s[41] = (o) => e.request.due = o)
|
|
980
|
+
}, null, 8, ["value", "property-timezone", "locale", "placeholder"])
|
|
981
|
+
])) : i("", !0),
|
|
982
|
+
e.requestType && e.requestType.id === "request" && e.request.item ? (l(), t("div", _e, [
|
|
983
|
+
r(m, {
|
|
984
|
+
id: "todo-request-assign-type",
|
|
985
|
+
selected: e.request.assignType,
|
|
986
|
+
options: e.assignTypes,
|
|
987
|
+
placeholder: e.$t("HC_ASSIGN_TYPE"),
|
|
988
|
+
condensed: "",
|
|
989
|
+
required: "",
|
|
990
|
+
"onUpdate:modelValue": s[42] || (s[42] = (o) => e.request.assignType = o)
|
|
991
|
+
}, null, 8, ["selected", "options", "placeholder"])
|
|
992
|
+
])) : i("", !0),
|
|
993
|
+
e.requestType && e.requestType.id === "request" && e.request.item ? (l(), t("div", xe, [
|
|
994
|
+
e.requestType && e.requestType.id === "request" && e.request.item && e.request.assignType && e.request.assignType.id === 1 ? (l(), k(m, {
|
|
995
|
+
key: 0,
|
|
996
|
+
id: "todo-request-assign-type",
|
|
997
|
+
selected: e.request.department,
|
|
998
|
+
options: e.departments,
|
|
999
|
+
disabled: !e.departments.length,
|
|
1000
|
+
placeholder: e.$t("HC_ASSIGN_TO"),
|
|
1001
|
+
condensed: "",
|
|
1002
|
+
required: "",
|
|
1003
|
+
"onUpdate:modelValue": s[43] || (s[43] = (o) => e.request.department = o)
|
|
1004
|
+
}, null, 8, ["selected", "options", "disabled", "placeholder"])) : i("", !0),
|
|
1005
|
+
e.requestType && e.requestType.id === "request" && e.request.item && e.request.assignType && e.request.assignType.id === 2 ? (l(), k(m, {
|
|
1006
|
+
key: 1,
|
|
1007
|
+
id: "todo-request-assign-type",
|
|
1008
|
+
selected: e.request.person,
|
|
1009
|
+
options: e.departmentUsers,
|
|
1010
|
+
disabled: !e.departmentUsers.length,
|
|
1011
|
+
"group-selectable": !1,
|
|
1012
|
+
placeholder: e.$t("HC_ASSIGN_TO"),
|
|
1013
|
+
"group-label": "group",
|
|
1014
|
+
"group-values": "options",
|
|
1015
|
+
condensed: "",
|
|
1016
|
+
required: "",
|
|
1017
|
+
"onUpdate:modelValue": s[44] || (s[44] = (o) => e.request.person = o)
|
|
1018
|
+
}, null, 8, ["selected", "options", "disabled", "placeholder"])) : i("", !0)
|
|
1019
|
+
])) : i("", !0),
|
|
1020
|
+
e.requestType && e.requestType.id === "request" && e.request.item ? (l(), t("div", eo, [
|
|
1021
|
+
r(g, {
|
|
1022
|
+
id: "todo-request-notes",
|
|
1023
|
+
modelValue: e.request.notes,
|
|
1024
|
+
"onUpdate:modelValue": s[45] || (s[45] = (o) => e.request.notes = o),
|
|
1025
|
+
placeholder: e.$t("HC_WRITE_A_MESSAGE"),
|
|
1026
|
+
classes: "text-inkwell-40 border-gray-12 mb-2",
|
|
1027
|
+
type: "textarea",
|
|
1028
|
+
condensed: ""
|
|
1029
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
1030
|
+
])) : i("", !0)
|
|
1031
|
+
])
|
|
1032
|
+
])) : i("", !0),
|
|
1033
|
+
n("div", oo, [
|
|
1034
|
+
r(C, {
|
|
1035
|
+
status: "secondary",
|
|
1036
|
+
onClick: E(e.closeRequest, ["prevent"])
|
|
1037
|
+
}, {
|
|
1038
|
+
default: a(() => [
|
|
1039
|
+
h(d(e.$t("HC_BACK")), 1)
|
|
1040
|
+
]),
|
|
1041
|
+
_: 1
|
|
1042
|
+
}, 8, ["onClick"]),
|
|
1043
|
+
r(C, {
|
|
1044
|
+
disabled: !e.validateToDo,
|
|
1045
|
+
loading: e.requestLoading,
|
|
1046
|
+
"use-loading-spinner": !0
|
|
1047
|
+
}, {
|
|
1048
|
+
default: a(() => [
|
|
1049
|
+
h(d(e.$t("HC_POST")), 1)
|
|
1050
|
+
]),
|
|
1051
|
+
_: 1
|
|
1052
|
+
}, 8, ["disabled", "loading"])
|
|
1053
|
+
])
|
|
1054
|
+
], 32)
|
|
1055
|
+
], 2),
|
|
1056
|
+
e.loading.pms ? (l(), t("div", so)) : !e.loading.pms && e.roomDetailsData.updatedAt ? (l(), t("div", lo, [
|
|
1057
|
+
r(u, {
|
|
1058
|
+
class: "flex-shrink-1 mr-2",
|
|
1059
|
+
size: "sm",
|
|
1060
|
+
color: "inkwell-0",
|
|
1061
|
+
icon: "clock-alarm",
|
|
1062
|
+
type: "outline"
|
|
1063
|
+
}),
|
|
1064
|
+
n("p", to, d(e.$t("HC_PMS_UPDATED")) + " " + d(e.DateTime.fromISO(e.roomDetailsData.updatedAt).toRelative({ locale: e.locale })), 1)
|
|
1065
|
+
])) : i("", !0)
|
|
1066
|
+
], 8, L)
|
|
1067
|
+
]),
|
|
1068
|
+
_: 3
|
|
1069
|
+
}, 8, ["model-value", "align", "position", "size"])
|
|
1070
|
+
], 40, G)) : i("", !0);
|
|
1071
|
+
}
|
|
1072
|
+
const ho = /* @__PURE__ */ R(S, [["render", io], ["__scopeId", "data-v-ba64436a"]]);
|
|
1073
|
+
export {
|
|
1074
|
+
ho as default
|
|
1075
|
+
};
|