@leaflink/stash 53.3.2 → 53.4.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/assets/icons/featured-no-check.svg +1 -0
- package/assets/spritesheet.svg +1 -1
- package/dist/Accordion.vue.d.ts +2 -2
- package/dist/AppNavigationItem.vue.d.ts +1 -1
- package/dist/Copy.js.map +1 -1
- package/dist/DataView.js +83 -80
- package/dist/DataView.js.map +1 -1
- package/dist/DataViewFilters.js +5 -4
- package/dist/DataViewFilters.js.map +1 -1
- package/dist/DataViewSortButton.js +3 -2
- package/dist/DataViewSortButton.js.map +1 -1
- package/dist/DataViewToolbar.js +3 -2
- package/dist/DataViewToolbar.js.map +1 -1
- package/dist/FilterDropdown.js +3 -2
- package/dist/FilterDropdown.js.map +1 -1
- package/dist/Icon.js +1 -0
- package/dist/Icon.js.map +1 -1
- package/dist/Icon.vue.d.ts +1 -1
- package/dist/IconLabel.vue.d.ts +1 -1
- package/dist/ListView.vue.d.ts +6 -6
- package/dist/Module.js +15 -11
- package/dist/Module.js.map +1 -1
- package/dist/Module.keys-DcqBbvvT.js +12 -0
- package/dist/Module.keys-DcqBbvvT.js.map +1 -0
- package/dist/Module.types-B1FfGGac.js.map +1 -1
- package/dist/Module.vue.d.ts +9 -0
- package/dist/ModuleContent.js +1 -1
- package/dist/ModuleFooter.js +1 -1
- package/dist/ModuleHeader.js +1 -1
- package/dist/QuickAction.vue.d.ts +1 -1
- package/dist/RadioNew.js +62 -58
- package/dist/RadioNew.js.map +1 -1
- package/dist/SectionHeader.vue.d.ts +2 -2
- package/dist/SelectStatus.vue.d.ts +1 -1
- package/dist/Table.js +20 -22
- package/dist/Table.js.map +1 -1
- package/dist/TableCell.js +3 -2
- package/dist/TableCell.js.map +1 -1
- package/dist/TableHeaderCell.js +3 -2
- package/dist/TableHeaderCell.js.map +1 -1
- package/dist/TableHeaderRow.js +3 -2
- package/dist/TableHeaderRow.js.map +1 -1
- package/dist/TableRow.js +3 -2
- package/dist/TableRow.js.map +1 -1
- package/dist/TextEditor.vue.d.ts +1 -1
- package/package.json +1 -1
- package/dist/Module.keys-CEsrW2f0.js +0 -10
- package/dist/Module.keys-CEsrW2f0.js.map +0 -1
package/dist/ListView.vue.d.ts
CHANGED
|
@@ -4021,7 +4021,7 @@ default?(_: {}): any;
|
|
|
4021
4021
|
});
|
|
4022
4022
|
Icon: DefineComponent<ExtractPropTypes< {
|
|
4023
4023
|
name: {
|
|
4024
|
-
type: PropType<"close" | "copy" | "submit" | "sort" | "search" | "split" | "link" | "tag" | "menu" | "image" | "action-dots" | "activity" | "alert-bell" | "archive" | "arrow-down" | "arrow-left" | "arrow-right" | "arrow-up" | "badge-discount" | "badge-seller-elite" | "badge-seller-power" | "badge-seller-verified" | "bank" | "book-customer" | "building-office" | "bulk-add" | "calendar-reschedule" | "calendar" | "camera" | "caret-down" | "caret-up" | "change-log" | "check" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "circle-check" | "circle-close" | "circle-dollar" | "circle-empty" | "circle-info" | "circle-partial" | "circle-percent" | "circle-question-mark" | "circle-slash" | "circle-status" | "circle-warning" | "clipboard-checkmark" | "clipboard-inventory" | "cloud-share" | "combine" | "compass" | "contact" | "contract" | "credit-card" | "credit-profile" | "dashboard" | "document-accept" | "document-invoice" | "document-recieved" | "document-sent" | "document-view" | "document" | "dolly" | "download" | "edit" | "ellipsis" | "envelope-open" | "envelope" | "equals" | "export" | "face-id" | "face" | "figma" | "file-csv" | "file" | "filter-funnel" | "filter-line" | "fingerprint" | "flag" | "folder" | "folder-bar-graph" | "folder-orders" | "font-bold" | "font-clear-format" | "font-italic" | "font-underline" | "gear" | "github" | "globe" | "graph-bar-chart" | "graph-line-chart" | "graph-pie-chart" | "hazard" | "hazard-outline" | "headset-agent" | "headset-mic" | "heart-filled" | "heart-outline" | "help-question-mark" | "hide" | "history" | "home" | "import" | "keyboard-return" | "tier-1" | "tier-2" | "tier-3" | "license-approved" | "license-certificate" | "lightbulb" | "link-add" | "link-unlink" | "list-bulleted" | "list-items" | "list-numbered" | "loading-big" | "loading-empty" | "loading-small" | "location" | "lock-unlock" | "lock" | "logo-facebook" | "logo-instagram" | "logo-linkedin" | "logo-ll" | "logo-metrc" | "logo-plaid" | "logo-x" | "logo-youtube" | "logout" | "medical" | "megaphone-sound" | "megaphone" | "message-dispute" | "message-reply" | "message" | "minus" | "mj-leaf" | "money" | "note-add" | "note" | "open-in-new" | "paperclip" | "paper-plane" | "performance" | "phone" | "plus" | "preview" | "print" | "product-menu-manage" | "product-menu-search" | "product-menu" | "queue-add" | "queue" | "recent" | "refresh" | "register" | "reorder" | "reply" | "report-download" | "sample" | "save" | "scale-law" | "scale-weight" | "seed-cycle" | "share" | "shop-bag-browse" | "shop-bag-reorder" | "shop-bag" | "shop-basket" | "shop-cart-add" | "shop-cart" | "show" | "sign-dollar" | "sign-percent" | "star-filled" | "star-outline" | "start" | "storefront" | "swap-horizontal" | "swap-vertical" | "tag-star" | "tag-leaf" | "test-results" | "ticket-star" | "ticket" | "tool-dropper" | "tool-wrench" | "transfer" | "trashcan" | "truck" | "upload" | "user-add" | "user-admin" | "user-check" | "user-group" | "user" | "view-card" | "view-detailed" | "view-list" | "warehouse" | "working">;
|
|
4024
|
+
type: PropType<"close" | "copy" | "submit" | "sort" | "search" | "split" | "link" | "tag" | "menu" | "image" | "action-dots" | "activity" | "alert-bell" | "archive" | "arrow-down" | "arrow-left" | "arrow-right" | "arrow-up" | "badge-discount" | "badge-seller-elite" | "badge-seller-power" | "badge-seller-verified" | "bank" | "book-customer" | "building-office" | "bulk-add" | "calendar-reschedule" | "calendar" | "camera" | "caret-down" | "caret-up" | "change-log" | "check" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "circle-check" | "circle-close" | "circle-dollar" | "circle-empty" | "circle-info" | "circle-partial" | "circle-percent" | "circle-question-mark" | "circle-slash" | "circle-status" | "circle-warning" | "clipboard-checkmark" | "clipboard-inventory" | "cloud-share" | "combine" | "compass" | "contact" | "contract" | "credit-card" | "credit-profile" | "dashboard" | "document-accept" | "document-invoice" | "document-recieved" | "document-sent" | "document-view" | "document" | "dolly" | "download" | "edit" | "ellipsis" | "envelope-open" | "envelope" | "equals" | "export" | "face-id" | "face" | "featured-no-check" | "figma" | "file-csv" | "file" | "filter-funnel" | "filter-line" | "fingerprint" | "flag" | "folder" | "folder-bar-graph" | "folder-orders" | "font-bold" | "font-clear-format" | "font-italic" | "font-underline" | "gear" | "github" | "globe" | "graph-bar-chart" | "graph-line-chart" | "graph-pie-chart" | "hazard" | "hazard-outline" | "headset-agent" | "headset-mic" | "heart-filled" | "heart-outline" | "help-question-mark" | "hide" | "history" | "home" | "import" | "keyboard-return" | "tier-1" | "tier-2" | "tier-3" | "license-approved" | "license-certificate" | "lightbulb" | "link-add" | "link-unlink" | "list-bulleted" | "list-items" | "list-numbered" | "loading-big" | "loading-empty" | "loading-small" | "location" | "lock-unlock" | "lock" | "logo-facebook" | "logo-instagram" | "logo-linkedin" | "logo-ll" | "logo-metrc" | "logo-plaid" | "logo-x" | "logo-youtube" | "logout" | "medical" | "megaphone-sound" | "megaphone" | "message-dispute" | "message-reply" | "message" | "minus" | "mj-leaf" | "money" | "note-add" | "note" | "open-in-new" | "paperclip" | "paper-plane" | "performance" | "phone" | "plus" | "preview" | "print" | "product-menu-manage" | "product-menu-search" | "product-menu" | "queue-add" | "queue" | "recent" | "refresh" | "register" | "reorder" | "reply" | "report-download" | "sample" | "save" | "scale-law" | "scale-weight" | "seed-cycle" | "share" | "shop-bag-browse" | "shop-bag-reorder" | "shop-bag" | "shop-basket" | "shop-cart-add" | "shop-cart" | "show" | "sign-dollar" | "sign-percent" | "star-filled" | "star-outline" | "start" | "storefront" | "swap-horizontal" | "swap-vertical" | "tag-star" | "tag-leaf" | "test-results" | "ticket-star" | "ticket" | "tool-dropper" | "tool-wrench" | "transfer" | "trashcan" | "truck" | "upload" | "user-add" | "user-admin" | "user-check" | "user-group" | "user" | "view-card" | "view-detailed" | "view-list" | "warehouse" | "working">;
|
|
4025
4025
|
required: true;
|
|
4026
4026
|
};
|
|
4027
4027
|
small: {
|
|
@@ -4048,7 +4048,7 @@ default: string;
|
|
|
4048
4048
|
};
|
|
4049
4049
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
4050
4050
|
name: {
|
|
4051
|
-
type: PropType<"close" | "copy" | "submit" | "sort" | "search" | "split" | "link" | "tag" | "menu" | "image" | "action-dots" | "activity" | "alert-bell" | "archive" | "arrow-down" | "arrow-left" | "arrow-right" | "arrow-up" | "badge-discount" | "badge-seller-elite" | "badge-seller-power" | "badge-seller-verified" | "bank" | "book-customer" | "building-office" | "bulk-add" | "calendar-reschedule" | "calendar" | "camera" | "caret-down" | "caret-up" | "change-log" | "check" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "circle-check" | "circle-close" | "circle-dollar" | "circle-empty" | "circle-info" | "circle-partial" | "circle-percent" | "circle-question-mark" | "circle-slash" | "circle-status" | "circle-warning" | "clipboard-checkmark" | "clipboard-inventory" | "cloud-share" | "combine" | "compass" | "contact" | "contract" | "credit-card" | "credit-profile" | "dashboard" | "document-accept" | "document-invoice" | "document-recieved" | "document-sent" | "document-view" | "document" | "dolly" | "download" | "edit" | "ellipsis" | "envelope-open" | "envelope" | "equals" | "export" | "face-id" | "face" | "figma" | "file-csv" | "file" | "filter-funnel" | "filter-line" | "fingerprint" | "flag" | "folder" | "folder-bar-graph" | "folder-orders" | "font-bold" | "font-clear-format" | "font-italic" | "font-underline" | "gear" | "github" | "globe" | "graph-bar-chart" | "graph-line-chart" | "graph-pie-chart" | "hazard" | "hazard-outline" | "headset-agent" | "headset-mic" | "heart-filled" | "heart-outline" | "help-question-mark" | "hide" | "history" | "home" | "import" | "keyboard-return" | "tier-1" | "tier-2" | "tier-3" | "license-approved" | "license-certificate" | "lightbulb" | "link-add" | "link-unlink" | "list-bulleted" | "list-items" | "list-numbered" | "loading-big" | "loading-empty" | "loading-small" | "location" | "lock-unlock" | "lock" | "logo-facebook" | "logo-instagram" | "logo-linkedin" | "logo-ll" | "logo-metrc" | "logo-plaid" | "logo-x" | "logo-youtube" | "logout" | "medical" | "megaphone-sound" | "megaphone" | "message-dispute" | "message-reply" | "message" | "minus" | "mj-leaf" | "money" | "note-add" | "note" | "open-in-new" | "paperclip" | "paper-plane" | "performance" | "phone" | "plus" | "preview" | "print" | "product-menu-manage" | "product-menu-search" | "product-menu" | "queue-add" | "queue" | "recent" | "refresh" | "register" | "reorder" | "reply" | "report-download" | "sample" | "save" | "scale-law" | "scale-weight" | "seed-cycle" | "share" | "shop-bag-browse" | "shop-bag-reorder" | "shop-bag" | "shop-basket" | "shop-cart-add" | "shop-cart" | "show" | "sign-dollar" | "sign-percent" | "star-filled" | "star-outline" | "start" | "storefront" | "swap-horizontal" | "swap-vertical" | "tag-star" | "tag-leaf" | "test-results" | "ticket-star" | "ticket" | "tool-dropper" | "tool-wrench" | "transfer" | "trashcan" | "truck" | "upload" | "user-add" | "user-admin" | "user-check" | "user-group" | "user" | "view-card" | "view-detailed" | "view-list" | "warehouse" | "working">;
|
|
4051
|
+
type: PropType<"close" | "copy" | "submit" | "sort" | "search" | "split" | "link" | "tag" | "menu" | "image" | "action-dots" | "activity" | "alert-bell" | "archive" | "arrow-down" | "arrow-left" | "arrow-right" | "arrow-up" | "badge-discount" | "badge-seller-elite" | "badge-seller-power" | "badge-seller-verified" | "bank" | "book-customer" | "building-office" | "bulk-add" | "calendar-reschedule" | "calendar" | "camera" | "caret-down" | "caret-up" | "change-log" | "check" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "circle-check" | "circle-close" | "circle-dollar" | "circle-empty" | "circle-info" | "circle-partial" | "circle-percent" | "circle-question-mark" | "circle-slash" | "circle-status" | "circle-warning" | "clipboard-checkmark" | "clipboard-inventory" | "cloud-share" | "combine" | "compass" | "contact" | "contract" | "credit-card" | "credit-profile" | "dashboard" | "document-accept" | "document-invoice" | "document-recieved" | "document-sent" | "document-view" | "document" | "dolly" | "download" | "edit" | "ellipsis" | "envelope-open" | "envelope" | "equals" | "export" | "face-id" | "face" | "featured-no-check" | "figma" | "file-csv" | "file" | "filter-funnel" | "filter-line" | "fingerprint" | "flag" | "folder" | "folder-bar-graph" | "folder-orders" | "font-bold" | "font-clear-format" | "font-italic" | "font-underline" | "gear" | "github" | "globe" | "graph-bar-chart" | "graph-line-chart" | "graph-pie-chart" | "hazard" | "hazard-outline" | "headset-agent" | "headset-mic" | "heart-filled" | "heart-outline" | "help-question-mark" | "hide" | "history" | "home" | "import" | "keyboard-return" | "tier-1" | "tier-2" | "tier-3" | "license-approved" | "license-certificate" | "lightbulb" | "link-add" | "link-unlink" | "list-bulleted" | "list-items" | "list-numbered" | "loading-big" | "loading-empty" | "loading-small" | "location" | "lock-unlock" | "lock" | "logo-facebook" | "logo-instagram" | "logo-linkedin" | "logo-ll" | "logo-metrc" | "logo-plaid" | "logo-x" | "logo-youtube" | "logout" | "medical" | "megaphone-sound" | "megaphone" | "message-dispute" | "message-reply" | "message" | "minus" | "mj-leaf" | "money" | "note-add" | "note" | "open-in-new" | "paperclip" | "paper-plane" | "performance" | "phone" | "plus" | "preview" | "print" | "product-menu-manage" | "product-menu-search" | "product-menu" | "queue-add" | "queue" | "recent" | "refresh" | "register" | "reorder" | "reply" | "report-download" | "sample" | "save" | "scale-law" | "scale-weight" | "seed-cycle" | "share" | "shop-bag-browse" | "shop-bag-reorder" | "shop-bag" | "shop-basket" | "shop-cart-add" | "shop-cart" | "show" | "sign-dollar" | "sign-percent" | "star-filled" | "star-outline" | "start" | "storefront" | "swap-horizontal" | "swap-vertical" | "tag-star" | "tag-leaf" | "test-results" | "ticket-star" | "ticket" | "tool-dropper" | "tool-wrench" | "transfer" | "trashcan" | "truck" | "upload" | "user-add" | "user-admin" | "user-check" | "user-group" | "user" | "view-card" | "view-detailed" | "view-list" | "warehouse" | "working">;
|
|
4052
4052
|
required: true;
|
|
4053
4053
|
};
|
|
4054
4054
|
small: {
|
|
@@ -5099,7 +5099,7 @@ default?(_: {}): any;
|
|
|
5099
5099
|
});
|
|
5100
5100
|
Icon: DefineComponent<ExtractPropTypes< {
|
|
5101
5101
|
name: {
|
|
5102
|
-
type: PropType<"close" | "copy" | "submit" | "sort" | "search" | "split" | "link" | "tag" | "menu" | "image" | "action-dots" | "activity" | "alert-bell" | "archive" | "arrow-down" | "arrow-left" | "arrow-right" | "arrow-up" | "badge-discount" | "badge-seller-elite" | "badge-seller-power" | "badge-seller-verified" | "bank" | "book-customer" | "building-office" | "bulk-add" | "calendar-reschedule" | "calendar" | "camera" | "caret-down" | "caret-up" | "change-log" | "check" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "circle-check" | "circle-close" | "circle-dollar" | "circle-empty" | "circle-info" | "circle-partial" | "circle-percent" | "circle-question-mark" | "circle-slash" | "circle-status" | "circle-warning" | "clipboard-checkmark" | "clipboard-inventory" | "cloud-share" | "combine" | "compass" | "contact" | "contract" | "credit-card" | "credit-profile" | "dashboard" | "document-accept" | "document-invoice" | "document-recieved" | "document-sent" | "document-view" | "document" | "dolly" | "download" | "edit" | "ellipsis" | "envelope-open" | "envelope" | "equals" | "export" | "face-id" | "face" | "figma" | "file-csv" | "file" | "filter-funnel" | "filter-line" | "fingerprint" | "flag" | "folder" | "folder-bar-graph" | "folder-orders" | "font-bold" | "font-clear-format" | "font-italic" | "font-underline" | "gear" | "github" | "globe" | "graph-bar-chart" | "graph-line-chart" | "graph-pie-chart" | "hazard" | "hazard-outline" | "headset-agent" | "headset-mic" | "heart-filled" | "heart-outline" | "help-question-mark" | "hide" | "history" | "home" | "import" | "keyboard-return" | "tier-1" | "tier-2" | "tier-3" | "license-approved" | "license-certificate" | "lightbulb" | "link-add" | "link-unlink" | "list-bulleted" | "list-items" | "list-numbered" | "loading-big" | "loading-empty" | "loading-small" | "location" | "lock-unlock" | "lock" | "logo-facebook" | "logo-instagram" | "logo-linkedin" | "logo-ll" | "logo-metrc" | "logo-plaid" | "logo-x" | "logo-youtube" | "logout" | "medical" | "megaphone-sound" | "megaphone" | "message-dispute" | "message-reply" | "message" | "minus" | "mj-leaf" | "money" | "note-add" | "note" | "open-in-new" | "paperclip" | "paper-plane" | "performance" | "phone" | "plus" | "preview" | "print" | "product-menu-manage" | "product-menu-search" | "product-menu" | "queue-add" | "queue" | "recent" | "refresh" | "register" | "reorder" | "reply" | "report-download" | "sample" | "save" | "scale-law" | "scale-weight" | "seed-cycle" | "share" | "shop-bag-browse" | "shop-bag-reorder" | "shop-bag" | "shop-basket" | "shop-cart-add" | "shop-cart" | "show" | "sign-dollar" | "sign-percent" | "star-filled" | "star-outline" | "start" | "storefront" | "swap-horizontal" | "swap-vertical" | "tag-star" | "tag-leaf" | "test-results" | "ticket-star" | "ticket" | "tool-dropper" | "tool-wrench" | "transfer" | "trashcan" | "truck" | "upload" | "user-add" | "user-admin" | "user-check" | "user-group" | "user" | "view-card" | "view-detailed" | "view-list" | "warehouse" | "working">;
|
|
5102
|
+
type: PropType<"close" | "copy" | "submit" | "sort" | "search" | "split" | "link" | "tag" | "menu" | "image" | "action-dots" | "activity" | "alert-bell" | "archive" | "arrow-down" | "arrow-left" | "arrow-right" | "arrow-up" | "badge-discount" | "badge-seller-elite" | "badge-seller-power" | "badge-seller-verified" | "bank" | "book-customer" | "building-office" | "bulk-add" | "calendar-reschedule" | "calendar" | "camera" | "caret-down" | "caret-up" | "change-log" | "check" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "circle-check" | "circle-close" | "circle-dollar" | "circle-empty" | "circle-info" | "circle-partial" | "circle-percent" | "circle-question-mark" | "circle-slash" | "circle-status" | "circle-warning" | "clipboard-checkmark" | "clipboard-inventory" | "cloud-share" | "combine" | "compass" | "contact" | "contract" | "credit-card" | "credit-profile" | "dashboard" | "document-accept" | "document-invoice" | "document-recieved" | "document-sent" | "document-view" | "document" | "dolly" | "download" | "edit" | "ellipsis" | "envelope-open" | "envelope" | "equals" | "export" | "face-id" | "face" | "featured-no-check" | "figma" | "file-csv" | "file" | "filter-funnel" | "filter-line" | "fingerprint" | "flag" | "folder" | "folder-bar-graph" | "folder-orders" | "font-bold" | "font-clear-format" | "font-italic" | "font-underline" | "gear" | "github" | "globe" | "graph-bar-chart" | "graph-line-chart" | "graph-pie-chart" | "hazard" | "hazard-outline" | "headset-agent" | "headset-mic" | "heart-filled" | "heart-outline" | "help-question-mark" | "hide" | "history" | "home" | "import" | "keyboard-return" | "tier-1" | "tier-2" | "tier-3" | "license-approved" | "license-certificate" | "lightbulb" | "link-add" | "link-unlink" | "list-bulleted" | "list-items" | "list-numbered" | "loading-big" | "loading-empty" | "loading-small" | "location" | "lock-unlock" | "lock" | "logo-facebook" | "logo-instagram" | "logo-linkedin" | "logo-ll" | "logo-metrc" | "logo-plaid" | "logo-x" | "logo-youtube" | "logout" | "medical" | "megaphone-sound" | "megaphone" | "message-dispute" | "message-reply" | "message" | "minus" | "mj-leaf" | "money" | "note-add" | "note" | "open-in-new" | "paperclip" | "paper-plane" | "performance" | "phone" | "plus" | "preview" | "print" | "product-menu-manage" | "product-menu-search" | "product-menu" | "queue-add" | "queue" | "recent" | "refresh" | "register" | "reorder" | "reply" | "report-download" | "sample" | "save" | "scale-law" | "scale-weight" | "seed-cycle" | "share" | "shop-bag-browse" | "shop-bag-reorder" | "shop-bag" | "shop-basket" | "shop-cart-add" | "shop-cart" | "show" | "sign-dollar" | "sign-percent" | "star-filled" | "star-outline" | "start" | "storefront" | "swap-horizontal" | "swap-vertical" | "tag-star" | "tag-leaf" | "test-results" | "ticket-star" | "ticket" | "tool-dropper" | "tool-wrench" | "transfer" | "trashcan" | "truck" | "upload" | "user-add" | "user-admin" | "user-check" | "user-group" | "user" | "view-card" | "view-detailed" | "view-list" | "warehouse" | "working">;
|
|
5103
5103
|
required: true;
|
|
5104
5104
|
};
|
|
5105
5105
|
small: {
|
|
@@ -5126,7 +5126,7 @@ default: string;
|
|
|
5126
5126
|
};
|
|
5127
5127
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
5128
5128
|
name: {
|
|
5129
|
-
type: PropType<"close" | "copy" | "submit" | "sort" | "search" | "split" | "link" | "tag" | "menu" | "image" | "action-dots" | "activity" | "alert-bell" | "archive" | "arrow-down" | "arrow-left" | "arrow-right" | "arrow-up" | "badge-discount" | "badge-seller-elite" | "badge-seller-power" | "badge-seller-verified" | "bank" | "book-customer" | "building-office" | "bulk-add" | "calendar-reschedule" | "calendar" | "camera" | "caret-down" | "caret-up" | "change-log" | "check" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "circle-check" | "circle-close" | "circle-dollar" | "circle-empty" | "circle-info" | "circle-partial" | "circle-percent" | "circle-question-mark" | "circle-slash" | "circle-status" | "circle-warning" | "clipboard-checkmark" | "clipboard-inventory" | "cloud-share" | "combine" | "compass" | "contact" | "contract" | "credit-card" | "credit-profile" | "dashboard" | "document-accept" | "document-invoice" | "document-recieved" | "document-sent" | "document-view" | "document" | "dolly" | "download" | "edit" | "ellipsis" | "envelope-open" | "envelope" | "equals" | "export" | "face-id" | "face" | "figma" | "file-csv" | "file" | "filter-funnel" | "filter-line" | "fingerprint" | "flag" | "folder" | "folder-bar-graph" | "folder-orders" | "font-bold" | "font-clear-format" | "font-italic" | "font-underline" | "gear" | "github" | "globe" | "graph-bar-chart" | "graph-line-chart" | "graph-pie-chart" | "hazard" | "hazard-outline" | "headset-agent" | "headset-mic" | "heart-filled" | "heart-outline" | "help-question-mark" | "hide" | "history" | "home" | "import" | "keyboard-return" | "tier-1" | "tier-2" | "tier-3" | "license-approved" | "license-certificate" | "lightbulb" | "link-add" | "link-unlink" | "list-bulleted" | "list-items" | "list-numbered" | "loading-big" | "loading-empty" | "loading-small" | "location" | "lock-unlock" | "lock" | "logo-facebook" | "logo-instagram" | "logo-linkedin" | "logo-ll" | "logo-metrc" | "logo-plaid" | "logo-x" | "logo-youtube" | "logout" | "medical" | "megaphone-sound" | "megaphone" | "message-dispute" | "message-reply" | "message" | "minus" | "mj-leaf" | "money" | "note-add" | "note" | "open-in-new" | "paperclip" | "paper-plane" | "performance" | "phone" | "plus" | "preview" | "print" | "product-menu-manage" | "product-menu-search" | "product-menu" | "queue-add" | "queue" | "recent" | "refresh" | "register" | "reorder" | "reply" | "report-download" | "sample" | "save" | "scale-law" | "scale-weight" | "seed-cycle" | "share" | "shop-bag-browse" | "shop-bag-reorder" | "shop-bag" | "shop-basket" | "shop-cart-add" | "shop-cart" | "show" | "sign-dollar" | "sign-percent" | "star-filled" | "star-outline" | "start" | "storefront" | "swap-horizontal" | "swap-vertical" | "tag-star" | "tag-leaf" | "test-results" | "ticket-star" | "ticket" | "tool-dropper" | "tool-wrench" | "transfer" | "trashcan" | "truck" | "upload" | "user-add" | "user-admin" | "user-check" | "user-group" | "user" | "view-card" | "view-detailed" | "view-list" | "warehouse" | "working">;
|
|
5129
|
+
type: PropType<"close" | "copy" | "submit" | "sort" | "search" | "split" | "link" | "tag" | "menu" | "image" | "action-dots" | "activity" | "alert-bell" | "archive" | "arrow-down" | "arrow-left" | "arrow-right" | "arrow-up" | "badge-discount" | "badge-seller-elite" | "badge-seller-power" | "badge-seller-verified" | "bank" | "book-customer" | "building-office" | "bulk-add" | "calendar-reschedule" | "calendar" | "camera" | "caret-down" | "caret-up" | "change-log" | "check" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "circle-check" | "circle-close" | "circle-dollar" | "circle-empty" | "circle-info" | "circle-partial" | "circle-percent" | "circle-question-mark" | "circle-slash" | "circle-status" | "circle-warning" | "clipboard-checkmark" | "clipboard-inventory" | "cloud-share" | "combine" | "compass" | "contact" | "contract" | "credit-card" | "credit-profile" | "dashboard" | "document-accept" | "document-invoice" | "document-recieved" | "document-sent" | "document-view" | "document" | "dolly" | "download" | "edit" | "ellipsis" | "envelope-open" | "envelope" | "equals" | "export" | "face-id" | "face" | "featured-no-check" | "figma" | "file-csv" | "file" | "filter-funnel" | "filter-line" | "fingerprint" | "flag" | "folder" | "folder-bar-graph" | "folder-orders" | "font-bold" | "font-clear-format" | "font-italic" | "font-underline" | "gear" | "github" | "globe" | "graph-bar-chart" | "graph-line-chart" | "graph-pie-chart" | "hazard" | "hazard-outline" | "headset-agent" | "headset-mic" | "heart-filled" | "heart-outline" | "help-question-mark" | "hide" | "history" | "home" | "import" | "keyboard-return" | "tier-1" | "tier-2" | "tier-3" | "license-approved" | "license-certificate" | "lightbulb" | "link-add" | "link-unlink" | "list-bulleted" | "list-items" | "list-numbered" | "loading-big" | "loading-empty" | "loading-small" | "location" | "lock-unlock" | "lock" | "logo-facebook" | "logo-instagram" | "logo-linkedin" | "logo-ll" | "logo-metrc" | "logo-plaid" | "logo-x" | "logo-youtube" | "logout" | "medical" | "megaphone-sound" | "megaphone" | "message-dispute" | "message-reply" | "message" | "minus" | "mj-leaf" | "money" | "note-add" | "note" | "open-in-new" | "paperclip" | "paper-plane" | "performance" | "phone" | "plus" | "preview" | "print" | "product-menu-manage" | "product-menu-search" | "product-menu" | "queue-add" | "queue" | "recent" | "refresh" | "register" | "reorder" | "reply" | "report-download" | "sample" | "save" | "scale-law" | "scale-weight" | "seed-cycle" | "share" | "shop-bag-browse" | "shop-bag-reorder" | "shop-bag" | "shop-basket" | "shop-cart-add" | "shop-cart" | "show" | "sign-dollar" | "sign-percent" | "star-filled" | "star-outline" | "start" | "storefront" | "swap-horizontal" | "swap-vertical" | "tag-star" | "tag-leaf" | "test-results" | "ticket-star" | "ticket" | "tool-dropper" | "tool-wrench" | "transfer" | "trashcan" | "truck" | "upload" | "user-add" | "user-admin" | "user-check" | "user-group" | "user" | "view-card" | "view-detailed" | "view-list" | "warehouse" | "working">;
|
|
5130
5130
|
required: true;
|
|
5131
5131
|
};
|
|
5132
5132
|
small: {
|
|
@@ -5219,7 +5219,7 @@ listViewRef: Record<string, any>;
|
|
|
5219
5219
|
}, {}, {
|
|
5220
5220
|
'll-icon': DefineComponent<ExtractPropTypes< {
|
|
5221
5221
|
name: {
|
|
5222
|
-
type: PropType<"close" | "copy" | "submit" | "sort" | "search" | "split" | "link" | "tag" | "menu" | "image" | "action-dots" | "activity" | "alert-bell" | "archive" | "arrow-down" | "arrow-left" | "arrow-right" | "arrow-up" | "badge-discount" | "badge-seller-elite" | "badge-seller-power" | "badge-seller-verified" | "bank" | "book-customer" | "building-office" | "bulk-add" | "calendar-reschedule" | "calendar" | "camera" | "caret-down" | "caret-up" | "change-log" | "check" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "circle-check" | "circle-close" | "circle-dollar" | "circle-empty" | "circle-info" | "circle-partial" | "circle-percent" | "circle-question-mark" | "circle-slash" | "circle-status" | "circle-warning" | "clipboard-checkmark" | "clipboard-inventory" | "cloud-share" | "combine" | "compass" | "contact" | "contract" | "credit-card" | "credit-profile" | "dashboard" | "document-accept" | "document-invoice" | "document-recieved" | "document-sent" | "document-view" | "document" | "dolly" | "download" | "edit" | "ellipsis" | "envelope-open" | "envelope" | "equals" | "export" | "face-id" | "face" | "figma" | "file-csv" | "file" | "filter-funnel" | "filter-line" | "fingerprint" | "flag" | "folder" | "folder-bar-graph" | "folder-orders" | "font-bold" | "font-clear-format" | "font-italic" | "font-underline" | "gear" | "github" | "globe" | "graph-bar-chart" | "graph-line-chart" | "graph-pie-chart" | "hazard" | "hazard-outline" | "headset-agent" | "headset-mic" | "heart-filled" | "heart-outline" | "help-question-mark" | "hide" | "history" | "home" | "import" | "keyboard-return" | "tier-1" | "tier-2" | "tier-3" | "license-approved" | "license-certificate" | "lightbulb" | "link-add" | "link-unlink" | "list-bulleted" | "list-items" | "list-numbered" | "loading-big" | "loading-empty" | "loading-small" | "location" | "lock-unlock" | "lock" | "logo-facebook" | "logo-instagram" | "logo-linkedin" | "logo-ll" | "logo-metrc" | "logo-plaid" | "logo-x" | "logo-youtube" | "logout" | "medical" | "megaphone-sound" | "megaphone" | "message-dispute" | "message-reply" | "message" | "minus" | "mj-leaf" | "money" | "note-add" | "note" | "open-in-new" | "paperclip" | "paper-plane" | "performance" | "phone" | "plus" | "preview" | "print" | "product-menu-manage" | "product-menu-search" | "product-menu" | "queue-add" | "queue" | "recent" | "refresh" | "register" | "reorder" | "reply" | "report-download" | "sample" | "save" | "scale-law" | "scale-weight" | "seed-cycle" | "share" | "shop-bag-browse" | "shop-bag-reorder" | "shop-bag" | "shop-basket" | "shop-cart-add" | "shop-cart" | "show" | "sign-dollar" | "sign-percent" | "star-filled" | "star-outline" | "start" | "storefront" | "swap-horizontal" | "swap-vertical" | "tag-star" | "tag-leaf" | "test-results" | "ticket-star" | "ticket" | "tool-dropper" | "tool-wrench" | "transfer" | "trashcan" | "truck" | "upload" | "user-add" | "user-admin" | "user-check" | "user-group" | "user" | "view-card" | "view-detailed" | "view-list" | "warehouse" | "working">;
|
|
5222
|
+
type: PropType<"close" | "copy" | "submit" | "sort" | "search" | "split" | "link" | "tag" | "menu" | "image" | "action-dots" | "activity" | "alert-bell" | "archive" | "arrow-down" | "arrow-left" | "arrow-right" | "arrow-up" | "badge-discount" | "badge-seller-elite" | "badge-seller-power" | "badge-seller-verified" | "bank" | "book-customer" | "building-office" | "bulk-add" | "calendar-reschedule" | "calendar" | "camera" | "caret-down" | "caret-up" | "change-log" | "check" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "circle-check" | "circle-close" | "circle-dollar" | "circle-empty" | "circle-info" | "circle-partial" | "circle-percent" | "circle-question-mark" | "circle-slash" | "circle-status" | "circle-warning" | "clipboard-checkmark" | "clipboard-inventory" | "cloud-share" | "combine" | "compass" | "contact" | "contract" | "credit-card" | "credit-profile" | "dashboard" | "document-accept" | "document-invoice" | "document-recieved" | "document-sent" | "document-view" | "document" | "dolly" | "download" | "edit" | "ellipsis" | "envelope-open" | "envelope" | "equals" | "export" | "face-id" | "face" | "featured-no-check" | "figma" | "file-csv" | "file" | "filter-funnel" | "filter-line" | "fingerprint" | "flag" | "folder" | "folder-bar-graph" | "folder-orders" | "font-bold" | "font-clear-format" | "font-italic" | "font-underline" | "gear" | "github" | "globe" | "graph-bar-chart" | "graph-line-chart" | "graph-pie-chart" | "hazard" | "hazard-outline" | "headset-agent" | "headset-mic" | "heart-filled" | "heart-outline" | "help-question-mark" | "hide" | "history" | "home" | "import" | "keyboard-return" | "tier-1" | "tier-2" | "tier-3" | "license-approved" | "license-certificate" | "lightbulb" | "link-add" | "link-unlink" | "list-bulleted" | "list-items" | "list-numbered" | "loading-big" | "loading-empty" | "loading-small" | "location" | "lock-unlock" | "lock" | "logo-facebook" | "logo-instagram" | "logo-linkedin" | "logo-ll" | "logo-metrc" | "logo-plaid" | "logo-x" | "logo-youtube" | "logout" | "medical" | "megaphone-sound" | "megaphone" | "message-dispute" | "message-reply" | "message" | "minus" | "mj-leaf" | "money" | "note-add" | "note" | "open-in-new" | "paperclip" | "paper-plane" | "performance" | "phone" | "plus" | "preview" | "print" | "product-menu-manage" | "product-menu-search" | "product-menu" | "queue-add" | "queue" | "recent" | "refresh" | "register" | "reorder" | "reply" | "report-download" | "sample" | "save" | "scale-law" | "scale-weight" | "seed-cycle" | "share" | "shop-bag-browse" | "shop-bag-reorder" | "shop-bag" | "shop-basket" | "shop-cart-add" | "shop-cart" | "show" | "sign-dollar" | "sign-percent" | "star-filled" | "star-outline" | "start" | "storefront" | "swap-horizontal" | "swap-vertical" | "tag-star" | "tag-leaf" | "test-results" | "ticket-star" | "ticket" | "tool-dropper" | "tool-wrench" | "transfer" | "trashcan" | "truck" | "upload" | "user-add" | "user-admin" | "user-check" | "user-group" | "user" | "view-card" | "view-detailed" | "view-list" | "warehouse" | "working">;
|
|
5223
5223
|
required: true;
|
|
5224
5224
|
};
|
|
5225
5225
|
small: {
|
|
@@ -5246,7 +5246,7 @@ default: string;
|
|
|
5246
5246
|
};
|
|
5247
5247
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
5248
5248
|
name: {
|
|
5249
|
-
type: PropType<"close" | "copy" | "submit" | "sort" | "search" | "split" | "link" | "tag" | "menu" | "image" | "action-dots" | "activity" | "alert-bell" | "archive" | "arrow-down" | "arrow-left" | "arrow-right" | "arrow-up" | "badge-discount" | "badge-seller-elite" | "badge-seller-power" | "badge-seller-verified" | "bank" | "book-customer" | "building-office" | "bulk-add" | "calendar-reschedule" | "calendar" | "camera" | "caret-down" | "caret-up" | "change-log" | "check" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "circle-check" | "circle-close" | "circle-dollar" | "circle-empty" | "circle-info" | "circle-partial" | "circle-percent" | "circle-question-mark" | "circle-slash" | "circle-status" | "circle-warning" | "clipboard-checkmark" | "clipboard-inventory" | "cloud-share" | "combine" | "compass" | "contact" | "contract" | "credit-card" | "credit-profile" | "dashboard" | "document-accept" | "document-invoice" | "document-recieved" | "document-sent" | "document-view" | "document" | "dolly" | "download" | "edit" | "ellipsis" | "envelope-open" | "envelope" | "equals" | "export" | "face-id" | "face" | "figma" | "file-csv" | "file" | "filter-funnel" | "filter-line" | "fingerprint" | "flag" | "folder" | "folder-bar-graph" | "folder-orders" | "font-bold" | "font-clear-format" | "font-italic" | "font-underline" | "gear" | "github" | "globe" | "graph-bar-chart" | "graph-line-chart" | "graph-pie-chart" | "hazard" | "hazard-outline" | "headset-agent" | "headset-mic" | "heart-filled" | "heart-outline" | "help-question-mark" | "hide" | "history" | "home" | "import" | "keyboard-return" | "tier-1" | "tier-2" | "tier-3" | "license-approved" | "license-certificate" | "lightbulb" | "link-add" | "link-unlink" | "list-bulleted" | "list-items" | "list-numbered" | "loading-big" | "loading-empty" | "loading-small" | "location" | "lock-unlock" | "lock" | "logo-facebook" | "logo-instagram" | "logo-linkedin" | "logo-ll" | "logo-metrc" | "logo-plaid" | "logo-x" | "logo-youtube" | "logout" | "medical" | "megaphone-sound" | "megaphone" | "message-dispute" | "message-reply" | "message" | "minus" | "mj-leaf" | "money" | "note-add" | "note" | "open-in-new" | "paperclip" | "paper-plane" | "performance" | "phone" | "plus" | "preview" | "print" | "product-menu-manage" | "product-menu-search" | "product-menu" | "queue-add" | "queue" | "recent" | "refresh" | "register" | "reorder" | "reply" | "report-download" | "sample" | "save" | "scale-law" | "scale-weight" | "seed-cycle" | "share" | "shop-bag-browse" | "shop-bag-reorder" | "shop-bag" | "shop-basket" | "shop-cart-add" | "shop-cart" | "show" | "sign-dollar" | "sign-percent" | "star-filled" | "star-outline" | "start" | "storefront" | "swap-horizontal" | "swap-vertical" | "tag-star" | "tag-leaf" | "test-results" | "ticket-star" | "ticket" | "tool-dropper" | "tool-wrench" | "transfer" | "trashcan" | "truck" | "upload" | "user-add" | "user-admin" | "user-check" | "user-group" | "user" | "view-card" | "view-detailed" | "view-list" | "warehouse" | "working">;
|
|
5249
|
+
type: PropType<"close" | "copy" | "submit" | "sort" | "search" | "split" | "link" | "tag" | "menu" | "image" | "action-dots" | "activity" | "alert-bell" | "archive" | "arrow-down" | "arrow-left" | "arrow-right" | "arrow-up" | "badge-discount" | "badge-seller-elite" | "badge-seller-power" | "badge-seller-verified" | "bank" | "book-customer" | "building-office" | "bulk-add" | "calendar-reschedule" | "calendar" | "camera" | "caret-down" | "caret-up" | "change-log" | "check" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "circle-check" | "circle-close" | "circle-dollar" | "circle-empty" | "circle-info" | "circle-partial" | "circle-percent" | "circle-question-mark" | "circle-slash" | "circle-status" | "circle-warning" | "clipboard-checkmark" | "clipboard-inventory" | "cloud-share" | "combine" | "compass" | "contact" | "contract" | "credit-card" | "credit-profile" | "dashboard" | "document-accept" | "document-invoice" | "document-recieved" | "document-sent" | "document-view" | "document" | "dolly" | "download" | "edit" | "ellipsis" | "envelope-open" | "envelope" | "equals" | "export" | "face-id" | "face" | "featured-no-check" | "figma" | "file-csv" | "file" | "filter-funnel" | "filter-line" | "fingerprint" | "flag" | "folder" | "folder-bar-graph" | "folder-orders" | "font-bold" | "font-clear-format" | "font-italic" | "font-underline" | "gear" | "github" | "globe" | "graph-bar-chart" | "graph-line-chart" | "graph-pie-chart" | "hazard" | "hazard-outline" | "headset-agent" | "headset-mic" | "heart-filled" | "heart-outline" | "help-question-mark" | "hide" | "history" | "home" | "import" | "keyboard-return" | "tier-1" | "tier-2" | "tier-3" | "license-approved" | "license-certificate" | "lightbulb" | "link-add" | "link-unlink" | "list-bulleted" | "list-items" | "list-numbered" | "loading-big" | "loading-empty" | "loading-small" | "location" | "lock-unlock" | "lock" | "logo-facebook" | "logo-instagram" | "logo-linkedin" | "logo-ll" | "logo-metrc" | "logo-plaid" | "logo-x" | "logo-youtube" | "logout" | "medical" | "megaphone-sound" | "megaphone" | "message-dispute" | "message-reply" | "message" | "minus" | "mj-leaf" | "money" | "note-add" | "note" | "open-in-new" | "paperclip" | "paper-plane" | "performance" | "phone" | "plus" | "preview" | "print" | "product-menu-manage" | "product-menu-search" | "product-menu" | "queue-add" | "queue" | "recent" | "refresh" | "register" | "reorder" | "reply" | "report-download" | "sample" | "save" | "scale-law" | "scale-weight" | "seed-cycle" | "share" | "shop-bag-browse" | "shop-bag-reorder" | "shop-bag" | "shop-basket" | "shop-cart-add" | "shop-cart" | "show" | "sign-dollar" | "sign-percent" | "star-filled" | "star-outline" | "start" | "storefront" | "swap-horizontal" | "swap-vertical" | "tag-star" | "tag-leaf" | "test-results" | "ticket-star" | "ticket" | "tool-dropper" | "tool-wrench" | "transfer" | "trashcan" | "truck" | "upload" | "user-add" | "user-admin" | "user-check" | "user-group" | "user" | "view-card" | "view-detailed" | "view-list" | "warehouse" | "working">;
|
|
5250
5250
|
required: true;
|
|
5251
5251
|
};
|
|
5252
5252
|
small: {
|
package/dist/Module.js
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import
|
|
3
|
-
import { M as v } from "./Module.keys-
|
|
1
|
+
import { defineComponent as l, onMounted as d, provide as s, computed as i, createBlock as u, openBlock as p, normalizeClass as b, unref as e, withCtx as c, renderSlot as m } from "vue";
|
|
2
|
+
import n from "@leaflink/snitch";
|
|
3
|
+
import { M as v } from "./Module.keys-DcqBbvvT.js";
|
|
4
4
|
import { _ as f } from "./Box.vue_vue_type_script_setup_true_lang-dFFZN40_.js";
|
|
5
5
|
import { M as t } from "./Module.types-B1FfGGac.js";
|
|
6
|
-
const
|
|
6
|
+
const M = /* @__PURE__ */ l({
|
|
7
7
|
name: "ll-module",
|
|
8
8
|
__name: "Module",
|
|
9
9
|
props: {
|
|
10
10
|
variant: { default: "box" },
|
|
11
|
+
includeDataviewPagination: { type: Boolean, default: !1 },
|
|
11
12
|
disablePadding: { type: Boolean },
|
|
12
13
|
disableGutters: { type: Boolean },
|
|
13
14
|
disableElevation: { type: Boolean },
|
|
@@ -15,10 +16,13 @@ const y = /* @__PURE__ */ n({
|
|
|
15
16
|
},
|
|
16
17
|
setup(o) {
|
|
17
18
|
const a = o;
|
|
18
|
-
return
|
|
19
|
-
a.variant === "card" &&
|
|
20
|
-
}), s(v.key, {
|
|
21
|
-
|
|
19
|
+
return d(() => {
|
|
20
|
+
a.variant === "card" && n.warn('Card Modules are no longer a thing. You\'re probably looking for `<RadioGroup variant="card">`.'), a.variant === "list" && n.warn("Only used with deprecated ListView component. Use `table` variant with `Table` component instead.");
|
|
21
|
+
}), s(v.key, {
|
|
22
|
+
variant: i(() => a.variant),
|
|
23
|
+
includeDataviewPagination: i(() => a.includeDataviewPagination)
|
|
24
|
+
}), (r, g) => (p(), u(f, {
|
|
25
|
+
class: b(["stash-module flex flex-col", {
|
|
22
26
|
"bg-transparent shadow": a.variant === e(t).Table,
|
|
23
27
|
"border border-ice-500": a.variant === e(t).Card,
|
|
24
28
|
"mb-6 bg-transparent shadow-none lg:shadow": a.variant === e(t).List
|
|
@@ -28,8 +32,8 @@ const y = /* @__PURE__ */ n({
|
|
|
28
32
|
"disable-padding": a.disablePadding || ["card", "list", "table"].includes(a.variant),
|
|
29
33
|
"disable-elevation": a.disableElevation || a.variant === e(t).Table || a.variant === e(t).Card || a.variant === e(t).List
|
|
30
34
|
}, {
|
|
31
|
-
default:
|
|
32
|
-
|
|
35
|
+
default: c(() => [
|
|
36
|
+
m(r.$slots, "default")
|
|
33
37
|
]),
|
|
34
38
|
_: 3
|
|
35
39
|
}, 8, ["class", "disable-gutters", "disable-padding", "disable-elevation"]));
|
|
@@ -38,6 +42,6 @@ const y = /* @__PURE__ */ n({
|
|
|
38
42
|
export {
|
|
39
43
|
v as MODULE_INJECTION,
|
|
40
44
|
t as ModuleVariant,
|
|
41
|
-
|
|
45
|
+
M as default
|
|
42
46
|
};
|
|
43
47
|
//# sourceMappingURL=Module.js.map
|
package/dist/Module.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Module.js","sources":["../src/components/Module/Module.vue"],"sourcesContent":["<script lang=\"ts\">\n import Box, { type BoxProps } from '../Box/Box.vue';\n import { ModuleVariant, type ModuleVariants } from './Module.types';\n\n export * from './Module.keys';\n export * from './Module.types';\n\n export interface ModuleProps extends BoxProps {\n /**\n * Variant applied.\n *\n * Options: `box`, `card`, `list`.\n */\n variant?: ModuleVariants;\n }\n</script>\n\n<script setup lang=\"ts\">\n import logger from '@leaflink/snitch';\n import { computed, onMounted, provide } from 'vue';\n\n import { MODULE_INJECTION } from './Module.keys';\n\n defineOptions({\n name: 'll-module',\n });\n\n const props = withDefaults(defineProps<ModuleProps>(), {\n variant: 'box',\n });\n\n onMounted(() => {\n if (props.variant === 'card') {\n logger.warn('Card Modules are no longer a thing. You\\'re probably looking for `<RadioGroup variant=\"card\">`.');\n }\n\n if (props.variant === 'list') {\n logger.warn('Only used with deprecated ListView component. Use `table` variant with `Table` component instead.');\n }\n });\n\n provide(MODULE_INJECTION.key, {
|
|
1
|
+
{"version":3,"file":"Module.js","sources":["../src/components/Module/Module.vue"],"sourcesContent":["<script lang=\"ts\">\n import Box, { type BoxProps } from '../Box/Box.vue';\n import { ModuleVariant, type ModuleVariants } from './Module.types';\n\n export * from './Module.keys';\n export * from './Module.types';\n\n export interface ModuleProps extends BoxProps {\n /**\n * Variant applied.\n *\n * Options: `box`, `card`, `list`.\n */\n variant?: ModuleVariants;\n\n /**\n * Whether to include dataview pagination within the module.\n * By default the bottom pagination is not included.\n */\n includeDataviewPagination?: boolean;\n }\n</script>\n\n<script setup lang=\"ts\">\n import logger from '@leaflink/snitch';\n import { computed, onMounted, provide } from 'vue';\n\n import { MODULE_INJECTION } from './Module.keys';\n\n defineOptions({\n name: 'll-module',\n });\n\n const props = withDefaults(defineProps<ModuleProps>(), {\n variant: 'box',\n includeDataviewPagination: false,\n });\n\n onMounted(() => {\n if (props.variant === 'card') {\n logger.warn('Card Modules are no longer a thing. You\\'re probably looking for `<RadioGroup variant=\"card\">`.');\n }\n\n if (props.variant === 'list') {\n logger.warn('Only used with deprecated ListView component. Use `table` variant with `Table` component instead.');\n }\n });\n\n provide(MODULE_INJECTION.key, {\n variant: computed(() => props.variant),\n includeDataviewPagination: computed(() => props.includeDataviewPagination),\n });\n</script>\n\n<template>\n <Box\n class=\"stash-module flex flex-col\"\n data-test=\"stash-module\"\n :class=\"{\n 'bg-transparent shadow': props.variant === ModuleVariant.Table,\n 'border border-ice-500': props.variant === ModuleVariant.Card,\n 'mb-6 bg-transparent shadow-none lg:shadow': props.variant === ModuleVariant.List,\n }\"\n :disable-gutters=\"props.disableGutters\"\n :disable-padding=\"props.disablePadding || ['card', 'list', 'table'].includes(props.variant)\"\n :disable-elevation=\"\n props.disableElevation ||\n props.variant === ModuleVariant.Table ||\n props.variant === ModuleVariant.Card ||\n props.variant === ModuleVariant.List\n \"\n >\n <slot></slot>\n </Box>\n</template>\n"],"names":["props","__props","onMounted","logger","provide","MODULE_INJECTION","computed"],"mappings":";;;;;;;;;;;;;;;;;AAiCE,UAAMA,IAAQC;AAKd,WAAAC,EAAU,MAAM;AACd,MAAIF,EAAM,YAAY,UACpBG,EAAO,KAAK,iGAAiG,GAG3GH,EAAM,YAAY,UACpBG,EAAO,KAAK,mGAAmG;AAAA,IAEnH,CAAC,GAEDC,EAAQC,EAAiB,KAAK;AAAA,MAC5B,SAASC,EAAS,MAAMN,EAAM,OAAO;AAAA,MACrC,2BAA2BM,EAAS,MAAMN,EAAM,yBAAyB;AAAA,IAAA,CAC1E;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { computed as e } from "vue";
|
|
2
|
+
const t = Object.freeze({
|
|
3
|
+
key: Symbol("MODULE_INJECTION_KEY"),
|
|
4
|
+
defaults: {
|
|
5
|
+
variant: void 0,
|
|
6
|
+
includeDataviewPagination: e(() => !1)
|
|
7
|
+
}
|
|
8
|
+
});
|
|
9
|
+
export {
|
|
10
|
+
t as M
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=Module.keys-DcqBbvvT.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Module.keys-DcqBbvvT.js","sources":["../src/components/Module/Module.keys.ts"],"sourcesContent":["import { computed } from 'vue';\n\nimport { InjectionWithDefaults } from '../../../types/utils';\nimport { ModuleInjection } from './Module.types';\n\nexport const MODULE_INJECTION: InjectionWithDefaults<ModuleInjection> = Object.freeze({\n key: Symbol('MODULE_INJECTION_KEY'),\n defaults: {\n variant: undefined,\n includeDataviewPagination: computed(() => false),\n },\n});\n"],"names":["MODULE_INJECTION","computed"],"mappings":";AAKO,MAAMA,IAA2D,OAAO,OAAO;AAAA,EACpF,KAAK,OAAO,sBAAsB;AAAA,EAClC,UAAU;AAAA,IACR,SAAS;AAAA,IACT,2BAA2BC,EAAS,MAAM,EAAK;AAAA,EAAA;AAEnD,CAAC;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Module.types-B1FfGGac.js","sources":["../src/components/Module/Module.types.ts"],"sourcesContent":["import { ComputedRef } from 'vue';\n\nexport enum ModuleVariant {\n Box = 'box',\n Table = 'table',\n /**\n * @deprecated Card Modules are no longer a thing. You're probably looking for `<RadioGroup variant=\"card\">`.\n */\n Card = 'card',\n /**\n * @deprecated Only used with deprecated ListView component. Use `table` variant with `Table` component instead.\n */\n List = 'list',\n}\n\nexport type ModuleVariants = `${ModuleVariant}`;\n\nexport interface ModuleInjection {\n /**\n * Module variant applied.\n */\n variant?: ComputedRef<ModuleVariants>;\n}\n"],"names":["ModuleVariant"],"mappings":"AAEO,IAAKA,sBAAAA,OACVA,EAAA,MAAM,OACNA,EAAA,QAAQ,SAIRA,EAAA,OAAO,QAIPA,EAAA,OAAO,QAVGA,IAAAA,KAAA,CAAA,CAAA;"}
|
|
1
|
+
{"version":3,"file":"Module.types-B1FfGGac.js","sources":["../src/components/Module/Module.types.ts"],"sourcesContent":["import { ComputedRef } from 'vue';\n\nexport enum ModuleVariant {\n Box = 'box',\n Table = 'table',\n /**\n * @deprecated Card Modules are no longer a thing. You're probably looking for `<RadioGroup variant=\"card\">`.\n */\n Card = 'card',\n /**\n * @deprecated Only used with deprecated ListView component. Use `table` variant with `Table` component instead.\n */\n List = 'list',\n}\n\nexport type ModuleVariants = `${ModuleVariant}`;\n\nexport interface ModuleInjection {\n /**\n * Module variant applied.\n */\n variant?: ComputedRef<ModuleVariants>;\n includeDataviewPagination?: ComputedRef<boolean>;\n}\n"],"names":["ModuleVariant"],"mappings":"AAEO,IAAKA,sBAAAA,OACVA,EAAA,MAAM,OACNA,EAAA,QAAQ,SAIRA,EAAA,OAAO,QAIPA,EAAA,OAAO,QAVGA,IAAAA,KAAA,CAAA,CAAA;"}
|
package/dist/Module.vue.d.ts
CHANGED
|
@@ -55,10 +55,13 @@ declare interface BoxProps {
|
|
|
55
55
|
|
|
56
56
|
declare const _default: __VLS_WithTemplateSlots<DefineComponent<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ModuleProps>, {
|
|
57
57
|
variant: string;
|
|
58
|
+
includeDataviewPagination: boolean;
|
|
58
59
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ModuleProps>, {
|
|
59
60
|
variant: string;
|
|
61
|
+
includeDataviewPagination: boolean;
|
|
60
62
|
}>>> & Readonly<{}>, {
|
|
61
63
|
variant: "table" | "list" | "box" | "card";
|
|
64
|
+
includeDataviewPagination: boolean;
|
|
62
65
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>, {
|
|
63
66
|
default?(_: {}): any;
|
|
64
67
|
}>;
|
|
@@ -79,6 +82,7 @@ export declare interface ModuleInjection {
|
|
|
79
82
|
* Module variant applied.
|
|
80
83
|
*/
|
|
81
84
|
variant?: ComputedRef<ModuleVariants>;
|
|
85
|
+
includeDataviewPagination?: ComputedRef<boolean>;
|
|
82
86
|
}
|
|
83
87
|
|
|
84
88
|
export declare interface ModuleProps extends BoxProps {
|
|
@@ -88,6 +92,11 @@ export declare interface ModuleProps extends BoxProps {
|
|
|
88
92
|
* Options: `box`, `card`, `list`.
|
|
89
93
|
*/
|
|
90
94
|
variant?: ModuleVariants;
|
|
95
|
+
/**
|
|
96
|
+
* Whether to include dataview pagination within the module.
|
|
97
|
+
* By default the bottom pagination is not included.
|
|
98
|
+
*/
|
|
99
|
+
includeDataviewPagination?: boolean;
|
|
91
100
|
}
|
|
92
101
|
|
|
93
102
|
export declare enum ModuleVariant {
|
package/dist/ModuleContent.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as m, useSlots as c, ref as i, onBeforeMount as p, inject as f, createElementBlock as a, openBlock as r, normalizeClass as h, unref as e, createCommentVNode as _, renderSlot as s, createElementVNode as d } from "vue";
|
|
2
|
-
import { M as u } from "./Module.keys-
|
|
2
|
+
import { M as u } from "./Module.keys-DcqBbvvT.js";
|
|
3
3
|
import { M as n } from "./Module.types-B1FfGGac.js";
|
|
4
4
|
const v = {
|
|
5
5
|
key: 0,
|
package/dist/ModuleFooter.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as n, ref as l, onBeforeMount as u, inject as d, createElementBlock as s, openBlock as i, normalizeClass as p, unref as t, renderSlot as m } from "vue";
|
|
2
|
-
import { M as a } from "./Module.keys-
|
|
2
|
+
import { M as a } from "./Module.keys-DcqBbvvT.js";
|
|
3
3
|
import { M as r } from "./Module.types-B1FfGGac.js";
|
|
4
4
|
const w = /* @__PURE__ */ n({
|
|
5
5
|
__name: "ModuleFooter",
|
package/dist/ModuleHeader.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as M, useCssModule as C, useSlots as S, ref as B, inject as $, computed as u, createElementBlock as r, openBlock as l, normalizeClass as n, unref as a, createElementVNode as i, createCommentVNode as m, renderSlot as o, createBlock as _, resolveDynamicComponent as b, withCtx as g, createTextVNode as V, toDisplayString as v } from "vue";
|
|
2
|
-
import { M as y } from "./Module.keys-
|
|
2
|
+
import { M as y } from "./Module.keys-DcqBbvvT.js";
|
|
3
3
|
import { M as c } from "./Module.types-B1FfGGac.js";
|
|
4
4
|
import { _ as E } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const N = { class: "flex items-center" }, z = {
|
|
@@ -27,7 +27,7 @@ declare type IconName = (typeof iconNames)[number];
|
|
|
27
27
|
*
|
|
28
28
|
* https://github.com/LeafLink/stash/blob/main/CONTRIBUTING.md#adding-a-new-icon
|
|
29
29
|
*/
|
|
30
|
-
declare const iconNames: readonly ["action-dots", "activity", "alert-bell", "archive", "arrow-down", "arrow-left", "arrow-right", "arrow-up", "badge-discount", "badge-seller-elite", "badge-seller-power", "badge-seller-verified", "bank", "book-customer", "building-office", "bulk-add", "calendar-reschedule", "calendar", "camera", "caret-down", "caret-up", "change-log", "check", "chevron-down", "chevron-left", "chevron-right", "chevron-up", "circle-check", "circle-close", "circle-dollar", "circle-empty", "circle-info", "circle-partial", "circle-percent", "circle-question-mark", "circle-slash", "circle-status", "circle-warning", "clipboard-checkmark", "clipboard-inventory", "close", "cloud-share", "combine", "compass", "contact", "contract", "copy", "credit-card", "credit-profile", "dashboard", "document-accept", "document-invoice", "document-recieved", "document-sent", "document-view", "document", "dolly", "download", "edit", "ellipsis", "envelope-open", "envelope", "equals", "export", "face-id", "face", "figma", "file-csv", "file", "filter-funnel", "filter-line", "fingerprint", "flag", "folder", "folder-bar-graph", "folder-orders", "font-bold", "font-clear-format", "font-italic", "font-underline", "gear", "github", "globe", "graph-bar-chart", "graph-line-chart", "graph-pie-chart", "hazard", "hazard-outline", "headset-agent", "headset-mic", "heart-filled", "heart-outline", "help-question-mark", "hide", "history", "home", "image", "import", "keyboard-return", "tier-1", "tier-2", "tier-3", "license-approved", "license-certificate", "lightbulb", "link-add", "link-unlink", "link", "list-bulleted", "list-items", "list-numbered", "loading-big", "loading-empty", "loading-small", "location", "lock-unlock", "lock", "logo-facebook", "logo-instagram", "logo-linkedin", "logo-ll", "logo-metrc", "logo-plaid", "logo-x", "logo-youtube", "logout", "medical", "megaphone-sound", "megaphone", "menu", "message-dispute", "message-reply", "message", "minus", "mj-leaf", "money", "note-add", "note", "open-in-new", "paperclip", "paper-plane", "performance", "phone", "plus", "preview", "print", "product-menu-manage", "product-menu-search", "product-menu", "queue-add", "queue", "recent", "refresh", "register", "reorder", "reply", "report-download", "sample", "save", "scale-law", "scale-weight", "search", "seed-cycle", "share", "shop-bag-browse", "shop-bag-reorder", "shop-bag", "shop-basket", "shop-cart-add", "shop-cart", "show", "sign-dollar", "sign-percent", "sort", "split", "star-filled", "star-outline", "start", "storefront", "submit", "swap-horizontal", "swap-vertical", "tag-star", "tag", "tag-leaf", "test-results", "ticket-star", "ticket", "tool-dropper", "tool-wrench", "transfer", "trashcan", "truck", "upload", "user-add", "user-admin", "user-check", "user-group", "user", "view-card", "view-detailed", "view-list", "warehouse", "working"];
|
|
30
|
+
declare const iconNames: readonly ["action-dots", "activity", "alert-bell", "archive", "arrow-down", "arrow-left", "arrow-right", "arrow-up", "badge-discount", "badge-seller-elite", "badge-seller-power", "badge-seller-verified", "bank", "book-customer", "building-office", "bulk-add", "calendar-reschedule", "calendar", "camera", "caret-down", "caret-up", "change-log", "check", "chevron-down", "chevron-left", "chevron-right", "chevron-up", "circle-check", "circle-close", "circle-dollar", "circle-empty", "circle-info", "circle-partial", "circle-percent", "circle-question-mark", "circle-slash", "circle-status", "circle-warning", "clipboard-checkmark", "clipboard-inventory", "close", "cloud-share", "combine", "compass", "contact", "contract", "copy", "credit-card", "credit-profile", "dashboard", "document-accept", "document-invoice", "document-recieved", "document-sent", "document-view", "document", "dolly", "download", "edit", "ellipsis", "envelope-open", "envelope", "equals", "export", "face-id", "face", "featured-no-check", "figma", "file-csv", "file", "filter-funnel", "filter-line", "fingerprint", "flag", "folder", "folder-bar-graph", "folder-orders", "font-bold", "font-clear-format", "font-italic", "font-underline", "gear", "github", "globe", "graph-bar-chart", "graph-line-chart", "graph-pie-chart", "hazard", "hazard-outline", "headset-agent", "headset-mic", "heart-filled", "heart-outline", "help-question-mark", "hide", "history", "home", "image", "import", "keyboard-return", "tier-1", "tier-2", "tier-3", "license-approved", "license-certificate", "lightbulb", "link-add", "link-unlink", "link", "list-bulleted", "list-items", "list-numbered", "loading-big", "loading-empty", "loading-small", "location", "lock-unlock", "lock", "logo-facebook", "logo-instagram", "logo-linkedin", "logo-ll", "logo-metrc", "logo-plaid", "logo-x", "logo-youtube", "logout", "medical", "megaphone-sound", "megaphone", "menu", "message-dispute", "message-reply", "message", "minus", "mj-leaf", "money", "note-add", "note", "open-in-new", "paperclip", "paper-plane", "performance", "phone", "plus", "preview", "print", "product-menu-manage", "product-menu-search", "product-menu", "queue-add", "queue", "recent", "refresh", "register", "reorder", "reply", "report-download", "sample", "save", "scale-law", "scale-weight", "search", "seed-cycle", "share", "shop-bag-browse", "shop-bag-reorder", "shop-bag", "shop-basket", "shop-cart-add", "shop-cart", "show", "sign-dollar", "sign-percent", "sort", "split", "star-filled", "star-outline", "start", "storefront", "submit", "swap-horizontal", "swap-vertical", "tag-star", "tag", "tag-leaf", "test-results", "ticket-star", "ticket", "tool-dropper", "tool-wrench", "transfer", "trashcan", "truck", "upload", "user-add", "user-admin", "user-check", "user-group", "user", "view-card", "view-detailed", "view-list", "warehouse", "working"];
|
|
31
31
|
|
|
32
32
|
export declare interface QuickActionProps {
|
|
33
33
|
/**
|
package/dist/RadioNew.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as _, useCssModule as $, inject as w, createElementBlock as h, openBlock as m, normalizeClass as d, unref as t, createElementVNode as n, renderSlot as B, createTextVNode as C, toDisplayString as y, withDirectives as M, vShow as g, computed as c, createBlock as N, resolveDynamicComponent as T, withCtx as D } from "vue";
|
|
2
2
|
import { R as x } from "./RadioGroup.keys-CqfiKkNz.js";
|
|
3
3
|
import { _ as V } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
|
-
const E = ["id", "name", "value", "checked", "disabled"], R = ["for"],
|
|
4
|
+
const E = ["id", "name", "value", "checked", "disabled"], R = ["for"], O = /* @__PURE__ */ _({
|
|
5
5
|
__name: "VariantButton",
|
|
6
6
|
props: {
|
|
7
7
|
disabled: { type: Boolean },
|
|
@@ -14,10 +14,10 @@ const E = ["id", "name", "value", "checked", "disabled"], R = ["for"], T = /* @_
|
|
|
14
14
|
},
|
|
15
15
|
emits: ["input"],
|
|
16
16
|
setup(s, { emit: u }) {
|
|
17
|
-
const e = s, l =
|
|
17
|
+
const e = s, l = $(), a = w(x.key), r = u;
|
|
18
18
|
return (o, i) => {
|
|
19
19
|
var b, v;
|
|
20
|
-
return m(),
|
|
20
|
+
return m(), h("div", {
|
|
21
21
|
"data-variant-button": "",
|
|
22
22
|
class: d([
|
|
23
23
|
t(l).root,
|
|
@@ -40,18 +40,22 @@ const E = ["id", "name", "value", "checked", "disabled"], R = ["for"], T = /* @_
|
|
|
40
40
|
n("label", {
|
|
41
41
|
class: d(t(l).label),
|
|
42
42
|
for: `${e.name}-${e.id}`
|
|
43
|
-
},
|
|
43
|
+
}, [
|
|
44
|
+
B(o.$slots, "default", {}, () => [
|
|
45
|
+
C(y(e.label), 1)
|
|
46
|
+
])
|
|
47
|
+
], 10, R)
|
|
44
48
|
], 2);
|
|
45
49
|
};
|
|
46
50
|
}
|
|
47
|
-
}),
|
|
48
|
-
label:
|
|
49
|
-
root:
|
|
51
|
+
}), S = "_label_1upd7_3", z = "_root_1upd7_15", A = "_input_1upd7_37", F = {
|
|
52
|
+
label: S,
|
|
53
|
+
root: z,
|
|
50
54
|
"radio-group-vertical-orientation": "_radio-group-vertical-orientation_1upd7_33",
|
|
51
|
-
input:
|
|
52
|
-
},
|
|
53
|
-
$style:
|
|
54
|
-
},
|
|
55
|
+
input: A
|
|
56
|
+
}, J = {
|
|
57
|
+
$style: F
|
|
58
|
+
}, P = /* @__PURE__ */ V(O, [["__cssModules", J]]), U = ["id", "name", "value", "checked", "disabled"], q = ["for"], H = /* @__PURE__ */ _({
|
|
55
59
|
__name: "VariantChip",
|
|
56
60
|
props: {
|
|
57
61
|
disabled: { type: Boolean },
|
|
@@ -64,8 +68,8 @@ const E = ["id", "name", "value", "checked", "disabled"], R = ["for"], T = /* @_
|
|
|
64
68
|
},
|
|
65
69
|
emits: ["input"],
|
|
66
70
|
setup(s, { emit: u }) {
|
|
67
|
-
const e = s, l =
|
|
68
|
-
return (r, o) => (m(),
|
|
71
|
+
const e = s, l = $(), a = u;
|
|
72
|
+
return (r, o) => (m(), h("div", {
|
|
69
73
|
class: d([t(l).root, { "w-full": e.fullWidth }])
|
|
70
74
|
}, [
|
|
71
75
|
n("input", {
|
|
@@ -77,19 +81,19 @@ const E = ["id", "name", "value", "checked", "disabled"], R = ["for"], T = /* @_
|
|
|
77
81
|
checked: e.modelValue === e.value,
|
|
78
82
|
disabled: e.disabled || e.disabled,
|
|
79
83
|
onInput: o[0] || (o[0] = (i) => a("input", i))
|
|
80
|
-
}, null, 42,
|
|
84
|
+
}, null, 42, U),
|
|
81
85
|
n("label", {
|
|
82
86
|
class: d(t(l).label),
|
|
83
87
|
for: `${e.name}-${e.id}`
|
|
84
|
-
}, y(e.label), 11,
|
|
88
|
+
}, y(e.label), 11, q)
|
|
85
89
|
], 2));
|
|
86
90
|
}
|
|
87
|
-
}),
|
|
88
|
-
label:
|
|
89
|
-
input:
|
|
90
|
-
},
|
|
91
|
-
$style:
|
|
92
|
-
},
|
|
91
|
+
}), K = "_label_17vp0_5", L = "_input_17vp0_19", Q = {
|
|
92
|
+
label: K,
|
|
93
|
+
input: L
|
|
94
|
+
}, X = {
|
|
95
|
+
$style: Q
|
|
96
|
+
}, Y = /* @__PURE__ */ V(H, [["__cssModules", X]]), Z = ["id", "name", "value", "checked", "disabled"], I = ["for"], j = /* @__PURE__ */ _({
|
|
93
97
|
__name: "VariantRadio",
|
|
94
98
|
props: {
|
|
95
99
|
disabled: { type: Boolean },
|
|
@@ -102,8 +106,8 @@ const E = ["id", "name", "value", "checked", "disabled"], R = ["for"], T = /* @_
|
|
|
102
106
|
},
|
|
103
107
|
emits: ["input"],
|
|
104
108
|
setup(s, { emit: u }) {
|
|
105
|
-
const e = s, l =
|
|
106
|
-
return (r, o) => (m(),
|
|
109
|
+
const e = s, l = $(), a = u;
|
|
110
|
+
return (r, o) => (m(), h("div", {
|
|
107
111
|
class: d(["flex", [t(l).root, { "w-full": e.fullWidth }]])
|
|
108
112
|
}, [
|
|
109
113
|
n("input", {
|
|
@@ -115,21 +119,21 @@ const E = ["id", "name", "value", "checked", "disabled"], R = ["for"], T = /* @_
|
|
|
115
119
|
checked: e.modelValue === e.value,
|
|
116
120
|
disabled: e.disabled,
|
|
117
121
|
onInput: o[0] || (o[0] = (i) => a("input", i))
|
|
118
|
-
}, null, 42,
|
|
119
|
-
|
|
122
|
+
}, null, 42, Z),
|
|
123
|
+
M(n("label", {
|
|
120
124
|
class: d([t(l).label, { "text-ice-500": e.disabled }]),
|
|
121
125
|
for: `${e.name}-${e.id}`
|
|
122
|
-
}, y(e.label), 11,
|
|
123
|
-
[
|
|
126
|
+
}, y(e.label), 11, I), [
|
|
127
|
+
[g, e.label]
|
|
124
128
|
])
|
|
125
129
|
], 2));
|
|
126
130
|
}
|
|
127
|
-
}),
|
|
128
|
-
label:
|
|
129
|
-
input:
|
|
130
|
-
},
|
|
131
|
-
$style:
|
|
132
|
-
},
|
|
131
|
+
}), G = "_label_l6dx6_5", ee = "_input_l6dx6_12", le = {
|
|
132
|
+
label: G,
|
|
133
|
+
input: ee
|
|
134
|
+
}, ae = {
|
|
135
|
+
$style: le
|
|
136
|
+
}, te = /* @__PURE__ */ V(j, [["__cssModules", ae]]), se = ["for"], de = ["id", "aria-labelledby", "name", "value", "checked", "disabled"], oe = ["id"], ie = /* @__PURE__ */ _({
|
|
133
137
|
__name: "VariantTile",
|
|
134
138
|
props: {
|
|
135
139
|
disabled: { type: Boolean },
|
|
@@ -142,8 +146,8 @@ const E = ["id", "name", "value", "checked", "disabled"], R = ["for"], T = /* @_
|
|
|
142
146
|
},
|
|
143
147
|
emits: ["input"],
|
|
144
148
|
setup(s, { emit: u }) {
|
|
145
|
-
const e = s, l =
|
|
146
|
-
return (r, o) => (m(),
|
|
149
|
+
const e = s, l = $(), a = u;
|
|
150
|
+
return (r, o) => (m(), h("label", {
|
|
147
151
|
class: d([t(l).root, { "w-full": e.fullWidth, [t(l)["root--disabled"]]: e.disabled }]),
|
|
148
152
|
for: `${e.name}-${e.id}`
|
|
149
153
|
}, [
|
|
@@ -166,11 +170,11 @@ const E = ["id", "name", "value", "checked", "disabled"], R = ["for"], T = /* @_
|
|
|
166
170
|
checked: e.modelValue === e.value,
|
|
167
171
|
disabled: e.disabled,
|
|
168
172
|
onInput: o[0] || (o[0] = (i) => a("input", i))
|
|
169
|
-
}, null, 42,
|
|
173
|
+
}, null, 42, de),
|
|
170
174
|
n("div", {
|
|
171
175
|
id: `tile-label-${e.name}-${e.id}`,
|
|
172
176
|
class: d([t(l).label, { "text-ice-500": e.disabled }])
|
|
173
|
-
}, y(e.label), 11,
|
|
177
|
+
}, y(e.label), 11, oe)
|
|
174
178
|
], 2),
|
|
175
179
|
n("div", {
|
|
176
180
|
class: d([
|
|
@@ -181,22 +185,22 @@ const E = ["id", "name", "value", "checked", "disabled"], R = ["for"], T = /* @_
|
|
|
181
185
|
}
|
|
182
186
|
])
|
|
183
187
|
}, [
|
|
184
|
-
|
|
188
|
+
B(r.$slots, "default")
|
|
185
189
|
], 2)
|
|
186
|
-
], 10,
|
|
190
|
+
], 10, se));
|
|
187
191
|
}
|
|
188
|
-
}),
|
|
189
|
-
root:
|
|
192
|
+
}), ne = "_root_1hkcw_5", ue = "_label_1hkcw_35", re = "_input_1hkcw_42", ce = {
|
|
193
|
+
root: ne,
|
|
190
194
|
"root--disabled": "_root--disabled_1hkcw_14",
|
|
191
195
|
"tile-header": "_tile-header_1hkcw_18",
|
|
192
196
|
"tile-body": "_tile-body_1hkcw_19",
|
|
193
|
-
label:
|
|
194
|
-
input:
|
|
195
|
-
},
|
|
196
|
-
$style:
|
|
197
|
-
}, _e = /* @__PURE__ */ V(
|
|
198
|
-
var
|
|
199
|
-
const
|
|
197
|
+
label: ue,
|
|
198
|
+
input: re
|
|
199
|
+
}, pe = {
|
|
200
|
+
$style: ce
|
|
201
|
+
}, _e = /* @__PURE__ */ V(ie, [["__cssModules", pe]]);
|
|
202
|
+
var p = /* @__PURE__ */ ((s) => (s.Radio = "radio", s.Button = "button", s.Chip = "chip", s.Tile = "tile", s))(p || {});
|
|
203
|
+
const $e = /* @__PURE__ */ _({
|
|
200
204
|
__name: "RadioNew",
|
|
201
205
|
props: {
|
|
202
206
|
name: { default: void 0 },
|
|
@@ -212,11 +216,11 @@ const fe = /* @__PURE__ */ p({
|
|
|
212
216
|
emits: ["update:modelValue"],
|
|
213
217
|
setup(s, { emit: u }) {
|
|
214
218
|
const e = {
|
|
215
|
-
[
|
|
216
|
-
[
|
|
217
|
-
[
|
|
218
|
-
[
|
|
219
|
-
}, l =
|
|
219
|
+
[p.Button]: P,
|
|
220
|
+
[p.Chip]: Y,
|
|
221
|
+
[p.Radio]: te,
|
|
222
|
+
[p.Tile]: _e
|
|
223
|
+
}, l = w(x.key, null), a = s, r = c(() => a.modelValue || (l == null ? void 0 : l.modelValue.value)), o = c(() => a.name || (l == null ? void 0 : l.name.value)), i = c(() => a.fullWidth || (l == null ? void 0 : l.fullWidth.value)), b = c(() => a.disabled || (l == null ? void 0 : l.disabled.value)), v = c(() => a.variant || (l == null ? void 0 : l.variant.value) || "radio"), k = u;
|
|
220
224
|
function W(f) {
|
|
221
225
|
if (l != null && l.update) {
|
|
222
226
|
l.update(f);
|
|
@@ -224,7 +228,7 @@ const fe = /* @__PURE__ */ p({
|
|
|
224
228
|
}
|
|
225
229
|
k("update:modelValue", f.target.value);
|
|
226
230
|
}
|
|
227
|
-
return (f,
|
|
231
|
+
return (f, me) => (m(), N(T(e[v.value]), {
|
|
228
232
|
id: a.id,
|
|
229
233
|
disabled: b.value,
|
|
230
234
|
"has-error": a.hasError,
|
|
@@ -236,14 +240,14 @@ const fe = /* @__PURE__ */ p({
|
|
|
236
240
|
onInput: W
|
|
237
241
|
}, {
|
|
238
242
|
default: D(() => [
|
|
239
|
-
|
|
243
|
+
B(f.$slots, "default")
|
|
240
244
|
]),
|
|
241
245
|
_: 3
|
|
242
246
|
}, 40, ["id", "disabled", "has-error", "full-width", "label", "model-value", "name", "value"]));
|
|
243
247
|
}
|
|
244
248
|
});
|
|
245
249
|
export {
|
|
246
|
-
|
|
247
|
-
|
|
250
|
+
p as RadioVariant,
|
|
251
|
+
$e as default
|
|
248
252
|
};
|
|
249
253
|
//# sourceMappingURL=RadioNew.js.map
|