@xy-planning-network/trees 0.2.62 → 0.3.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/README.md +103 -0
- package/config/tailwind.config.js +56 -0
- package/config/theme/animation.js +3 -0
- package/config/theme/colors.js +17 -0
- package/config/theme/fontFamily.js +4 -0
- package/config/theme/index.js +5 -0
- package/dist/trees.esm.js +63 -65
- package/dist/trees.min.js +2 -2
- package/dist/trees.ssr.js +64 -66
- package/package.json +7 -3
- package/src/index.css +147 -0
- package/src/lib-components/forms/BaseInput.vue +1 -1
- package/src/lib-components/forms/Checkbox.vue +4 -8
- package/src/lib-components/forms/InputHelp.vue +1 -1
- package/src/lib-components/forms/InputLabel.vue +1 -1
- package/src/lib-components/forms/MultiCheckboxes.vue +2 -2
- package/src/lib-components/forms/Radio.vue +2 -2
- package/src/lib-components/forms/Select.vue +8 -5
- package/src/lib-components/forms/TextArea.vue +1 -1
- package/src/lib-components/forms/YesOrNoRadio.vue +4 -6
- package/src/lib-components/layout/DateFilter.vue +2 -1
- package/src/lib-components/layout/SidebarLayout.vue +7 -7
- package/src/lib-components/layout/StackedLayout.vue +6 -6
- package/src/lib-components/lists/Cards.vue +1 -1
- package/src/lib-components/lists/StaticTable.vue +3 -3
- package/src/lib-components/lists/Table.vue +3 -3
- package/src/lib-components/navigation/ActionsDropdown.vue +2 -2
- package/src/lib-components/navigation/Paginator.vue +5 -5
- package/src/lib-components/navigation/Tabs.vue +4 -4
- package/src/lib-components/overlays/Slideover.vue +4 -3
package/dist/trees.ssr.js
CHANGED
|
@@ -1720,8 +1720,9 @@ var axios_1 = axios$1;
|
|
|
1720
1720
|
|
|
1721
1721
|
// Allow use of default import syntax in TypeScript
|
|
1722
1722
|
var _default = axios$1;
|
|
1723
|
-
axios_1.default = _default;var axios = axios_1;var
|
|
1724
|
-
|
|
1723
|
+
axios_1.default = _default;var axios = axios_1;var env = undefined || {};
|
|
1724
|
+
var apiAxiosInstance = axios.create({
|
|
1725
|
+
baseURL: env.VITE_APP_BASE_API_URL || process.env.VUE_APP_BASE_API_URL || "/api/v1",
|
|
1725
1726
|
responseType: "json",
|
|
1726
1727
|
withCredentials: true
|
|
1727
1728
|
});
|
|
@@ -5249,7 +5250,7 @@ function render$x(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5249
5250
|
}, {
|
|
5250
5251
|
default: vue.withCtx(function () {
|
|
5251
5252
|
return [vue.createVNode(_component_MenuButton, {
|
|
5252
|
-
class: "w-8 h-8 bg-white inline-flex items-center justify-center text-gray-
|
|
5253
|
+
class: "w-8 h-8 bg-white inline-flex items-center justify-center text-gray-700 rounded-full hover:text-gray-900 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500 disabled:opacity-50 disabled:cursor-not-allowed",
|
|
5253
5254
|
disabled: !_ctx.hasActionItems
|
|
5254
5255
|
}, {
|
|
5255
5256
|
default: vue.withCtx(function () {
|
|
@@ -5283,7 +5284,7 @@ function render$x(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5283
5284
|
var active = _ref.active;
|
|
5284
5285
|
return [vue.createVNode("button", {
|
|
5285
5286
|
type: "submit",
|
|
5286
|
-
class: [active ? 'bg-gray-100 text-gray-900' : 'text-gray-700', 'block w-full text-left px-4 py-2 text-sm'],
|
|
5287
|
+
class: [active ? 'bg-gray-100 text-gray-900' : 'text-gray-700', 'block w-full text-left px-4 py-2 text-sm font-semibold'],
|
|
5287
5288
|
textContent: vue.toDisplayString(item.label),
|
|
5288
5289
|
onClick: function onClick($event) {
|
|
5289
5290
|
return _ctx.emitEvent(item.event);
|
|
@@ -5349,7 +5350,7 @@ function render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5349
5350
|
class: "mt-1 text-3xl leading-9 font-semibold text-xy-blue",
|
|
5350
5351
|
textContent: vue.toDisplayString(card.primary)
|
|
5351
5352
|
}, null, 8, ["textContent"]), vue.createVNode("dt", {
|
|
5352
|
-
class: "text-sm leading-5 font-medium text-gray-
|
|
5353
|
+
class: "text-sm leading-5 font-medium text-gray-700 truncate",
|
|
5353
5354
|
textContent: vue.toDisplayString(card.secondary)
|
|
5354
5355
|
}, null, 8, ["textContent"])])])]);
|
|
5355
5356
|
}), 128))], 2);
|
|
@@ -8019,7 +8020,7 @@ var InputLabel = (_dec$o = Options({
|
|
|
8019
8020
|
return _ctx.label ? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.tag), vue.mergeProps({
|
|
8020
8021
|
key: 0
|
|
8021
8022
|
}, _objectSpread2$1(_objectSpread2$1({}, _ctx.$attrs), {}, {
|
|
8022
|
-
class: 'block my-
|
|
8023
|
+
class: 'block my-1 text-sm font-semibold leading-snug text-gray-900'
|
|
8023
8024
|
})), {
|
|
8024
8025
|
default: vue.withCtx(function () {
|
|
8025
8026
|
return [vue.createTextVNode(vue.toDisplayString(_ctx.label), 1)];
|
|
@@ -8074,7 +8075,7 @@ var InputHelp = (_dec$n = Options({
|
|
|
8074
8075
|
return _ctx.text ? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.tag), vue.mergeProps({
|
|
8075
8076
|
key: 0
|
|
8076
8077
|
}, _objectSpread2$1(_objectSpread2$1({}, _ctx.$attrs), {}, {
|
|
8077
|
-
class: '
|
|
8078
|
+
class: 'mt-2 text-sm leading-snug font-semibold text-gray-700'
|
|
8078
8079
|
})), {
|
|
8079
8080
|
default: vue.withCtx(function () {
|
|
8080
8081
|
return [vue.createTextVNode(vue.toDisplayString(_ctx.text), 1)];
|
|
@@ -8176,7 +8177,7 @@ var BaseInput = (_dec$m = Options({
|
|
|
8176
8177
|
}, null, 8, ["id", "for", "label"]), vue.createVNode("input", vue.mergeProps({
|
|
8177
8178
|
"aria-labelledby": _ctx.label ? "".concat(_ctx.uuid, "-label") : undefined,
|
|
8178
8179
|
"aria-describedby": _ctx.help ? "".concat(_ctx.uuid, "-help") : undefined,
|
|
8179
|
-
class: ['mt-1', 'sm:text-sm'].concat(_toConsumableArray$1(_ctx.isTextType ? ['block', 'shadow-sm', 'focus:ring-blue-500', 'focus:border-blue-500', 'border-gray-
|
|
8180
|
+
class: ['mt-1', 'sm:text-sm'].concat(_toConsumableArray$1(_ctx.isTextType ? ['block', 'shadow-sm', 'focus:ring-blue-500', 'focus:border-blue-500', 'border-gray-600', 'rounded-md', 'w-full'] : [])),
|
|
8180
8181
|
id: _ctx.uuid,
|
|
8181
8182
|
placeholder: _ctx.label,
|
|
8182
8183
|
type: _ctx.type,
|
|
@@ -8188,7 +8189,7 @@ var BaseInput = (_dec$m = Options({
|
|
|
8188
8189
|
id: "".concat(_ctx.uuid, "-help"),
|
|
8189
8190
|
text: _ctx.help
|
|
8190
8191
|
}, null, 8, ["id", "text"])], 64);
|
|
8191
|
-
}BaseInput.render = render$s;var _dec$l, _dec2$j, _dec3$h, _dec4$f, _dec5$b, _dec6$
|
|
8192
|
+
}BaseInput.render = render$s;var _dec$l, _dec2$j, _dec3$h, _dec4$f, _dec5$b, _dec6$8, _class$l, _class2$j, _descriptor$j, _descriptor2$g, _descriptor3$f, _descriptor4$6;
|
|
8192
8193
|
var DateRangePicker = (_dec$l = Options({
|
|
8193
8194
|
name: "DateRangePicker",
|
|
8194
8195
|
components: {
|
|
@@ -8206,7 +8207,7 @@ var DateRangePicker = (_dec$l = Options({
|
|
|
8206
8207
|
}), _dec5$b = Prop({
|
|
8207
8208
|
type: String,
|
|
8208
8209
|
required: false
|
|
8209
|
-
}), _dec6$
|
|
8210
|
+
}), _dec6$8 = Emit("update:modelValue"), _dec$l(_class$l = (_class2$j = /*#__PURE__*/function (_Vue) {
|
|
8210
8211
|
_inherits$1(DateRangePicker, _Vue);
|
|
8211
8212
|
|
|
8212
8213
|
var _super = _createSuper$1(DateRangePicker);
|
|
@@ -8289,7 +8290,7 @@ var DateRangePicker = (_dec$l = Options({
|
|
|
8289
8290
|
enumerable: true,
|
|
8290
8291
|
writable: true,
|
|
8291
8292
|
initializer: null
|
|
8292
|
-
}), _applyDecoratedDescriptor(_class2$j.prototype, "updateModelValue", [_dec6$
|
|
8293
|
+
}), _applyDecoratedDescriptor(_class2$j.prototype, "updateModelValue", [_dec6$8], Object.getOwnPropertyDescriptor(_class2$j.prototype, "updateModelValue"), _class2$j.prototype)), _class2$j)) || _class$l);function render$r(_ctx, _cache, $props, $setup, $data, $options) {
|
|
8293
8294
|
var _component_BaseInput = vue.resolveComponent("BaseInput");
|
|
8294
8295
|
|
|
8295
8296
|
return vue.openBlock(), vue.createBlock(_component_BaseInput, {
|
|
@@ -8299,7 +8300,7 @@ var DateRangePicker = (_dec$l = Options({
|
|
|
8299
8300
|
label: _ctx.label,
|
|
8300
8301
|
help: _ctx.help
|
|
8301
8302
|
}, null, 8, ["id", "label", "help"]);
|
|
8302
|
-
}DateRangePicker.render = render$r;var _dec$k, _dec2$i, _dec3$g, _dec4$e, _dec5$a, _dec6$
|
|
8303
|
+
}DateRangePicker.render = render$r;var _dec$k, _dec2$i, _dec3$g, _dec4$e, _dec5$a, _dec6$7, _class$k, _class2$i, _descriptor$i, _descriptor2$f, _descriptor3$e;
|
|
8303
8304
|
var DateFilter = (_dec$k = Options({
|
|
8304
8305
|
components: {
|
|
8305
8306
|
DateRangePicker: DateRangePicker
|
|
@@ -8314,7 +8315,7 @@ var DateFilter = (_dec$k = Options({
|
|
|
8314
8315
|
}), _dec4$e = Prop({
|
|
8315
8316
|
type: String,
|
|
8316
8317
|
required: true
|
|
8317
|
-
}), _dec5$a = Emit(), _dec6$
|
|
8318
|
+
}), _dec5$a = Emit(), _dec6$7 = Emit(), _dec$k(_class$k = (_class2$i = /*#__PURE__*/function (_Vue) {
|
|
8318
8319
|
_inherits$1(DateFilter, _Vue);
|
|
8319
8320
|
|
|
8320
8321
|
var _super = _createSuper$1(DateFilter);
|
|
@@ -8367,7 +8368,7 @@ var DateFilter = (_dec$k = Options({
|
|
|
8367
8368
|
enumerable: true,
|
|
8368
8369
|
writable: true,
|
|
8369
8370
|
initializer: null
|
|
8370
|
-
}), _applyDecoratedDescriptor(_class2$i.prototype, "sortDirChanged", [_dec5$a], Object.getOwnPropertyDescriptor(_class2$i.prototype, "sortDirChanged"), _class2$i.prototype), _applyDecoratedDescriptor(_class2$i.prototype, "dateRangeChanged", [_dec6$
|
|
8371
|
+
}), _applyDecoratedDescriptor(_class2$i.prototype, "sortDirChanged", [_dec5$a], Object.getOwnPropertyDescriptor(_class2$i.prototype, "sortDirChanged"), _class2$i.prototype), _applyDecoratedDescriptor(_class2$i.prototype, "dateRangeChanged", [_dec6$7], Object.getOwnPropertyDescriptor(_class2$i.prototype, "dateRangeChanged"), _class2$i.prototype)), _class2$i)) || _class$k);var _hoisted_1$h = {
|
|
8371
8372
|
class: "md:flex md:items-center md:justify-between bg-white mx-auto py-4 border-t border-gray-100"
|
|
8372
8373
|
};
|
|
8373
8374
|
var _hoisted_2$f = {
|
|
@@ -8395,7 +8396,7 @@ function render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8395
8396
|
onChange: _cache[1] || (_cache[1] = function ($event) {
|
|
8396
8397
|
return _ctx.sortDirChanged($event.target.value);
|
|
8397
8398
|
}),
|
|
8398
|
-
class: "block w-full border border-gray-
|
|
8399
|
+
class: "block w-full border border-gray-600 rounded-md shadow-sm py-2 px-3 focus:outline-none focus:ring-blue-500 focus:border-blue-500 sm:text-sm"
|
|
8399
8400
|
}, [_hoisted_5$9, _hoisted_6$9], 32), vue.createVNode(_component_DateRangePicker, {
|
|
8400
8401
|
modelValue: _ctx.dateRange,
|
|
8401
8402
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = function ($event) {
|
|
@@ -8543,14 +8544,14 @@ var _hoisted_8$6 = /*#__PURE__*/vue.createVNode("svg", {
|
|
|
8543
8544
|
function render$p(_ctx, _cache, $props, $setup, $data, $options) {
|
|
8544
8545
|
return vue.openBlock(), vue.createBlock("div", _hoisted_1$g, [vue.createVNode("div", _hoisted_2$e, [vue.createVNode("a", {
|
|
8545
8546
|
href: "#",
|
|
8546
|
-
class: ["-mt-px border-t-2 border-transparent pt-4 pr-1 inline-flex items-center text-sm leading-5 font-medium focus:outline-none focus:text-gray-700 focus:border-gray-400", _ctx.modelValue.page == 1 ? 'text-gray-
|
|
8547
|
+
class: ["-mt-px border-t-2 border-transparent pt-4 pr-1 inline-flex items-center text-sm leading-5 font-medium focus:outline-none focus:text-gray-700 focus:border-gray-400", _ctx.modelValue.page == 1 ? 'text-gray-500 cursor-not-allowed pointer-events-none' : 'text-gray-700 hover:text-gray-900 hover:border-gray-300'],
|
|
8547
8548
|
onClick: _cache[1] || (_cache[1] = vue.withModifiers(function ($event) {
|
|
8548
8549
|
return _ctx.changePage(_ctx.modelValue.page - 1);
|
|
8549
8550
|
}, ["prevent"]))
|
|
8550
8551
|
}, [_hoisted_3$a, _hoisted_4$8], 2)]), vue.createVNode("div", _hoisted_5$8, [(vue.openBlock(true), vue.createBlock(vue.Fragment, null, vue.renderList(_ctx.pageShortcuts, function (i) {
|
|
8551
8552
|
return vue.openBlock(), vue.createBlock("a", {
|
|
8552
8553
|
href: "#",
|
|
8553
|
-
class: ["-mt-px border-t-2 pt-4 px-4 inline-flex items-center text-sm leading-5 font-medium", _ctx.modelValue.page === i ? 'border-blue-500 text-blue-600 focus:outline-none focus:text-blue-800 focus:border-blue-700' : 'border-transparent text-gray-
|
|
8554
|
+
class: ["-mt-px border-t-2 pt-4 px-4 inline-flex items-center text-sm leading-5 font-medium", _ctx.modelValue.page === i ? 'border-blue-500 text-blue-600 focus:outline-none focus:text-blue-800 focus:border-blue-700' : 'border-transparent text-gray-700 hover:text-gray-900 hover:border-gray-300 focus:outline-none focus:text-gray-700 focus:border-gray-400'],
|
|
8554
8555
|
key: i,
|
|
8555
8556
|
textContent: vue.toDisplayString(i),
|
|
8556
8557
|
onClick: vue.withModifiers(function ($event) {
|
|
@@ -8559,12 +8560,12 @@ function render$p(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8559
8560
|
}, null, 10, ["textContent", "onClick"]);
|
|
8560
8561
|
}), 128))]), vue.createVNode("div", _hoisted_6$8, [vue.createVNode("a", {
|
|
8561
8562
|
href: "#",
|
|
8562
|
-
class: ["-mt-px border-t-2 border-transparent pt-4 pl-1 inline-flex items-center text-sm leading-5 font-medium focus:outline-none focus:text-gray-700 focus:border-gray-400", _ctx.modelValue.page >= _ctx.modelValue.totalPages ? 'text-gray-
|
|
8563
|
+
class: ["-mt-px border-t-2 border-transparent pt-4 pl-1 inline-flex items-center text-sm leading-5 font-medium focus:outline-none focus:text-gray-700 focus:border-gray-400", _ctx.modelValue.page >= _ctx.modelValue.totalPages ? 'text-gray-500 cursor-not-allowed pointer-events-none' : 'text-gray-700 hover:text-gray-900 hover:border-gray-300'],
|
|
8563
8564
|
onClick: _cache[2] || (_cache[2] = vue.withModifiers(function ($event) {
|
|
8564
8565
|
return _ctx.changePage(_ctx.modelValue.page + 1);
|
|
8565
8566
|
}, ["prevent"]))
|
|
8566
8567
|
}, [_hoisted_7$8, _hoisted_8$6], 2)])]);
|
|
8567
|
-
}Paginator.render = render$p;var _dec$i, _dec2$g, _dec3$e, _dec4$d, _dec5$9, _dec6$
|
|
8568
|
+
}Paginator.render = render$p;var _dec$i, _dec2$g, _dec3$e, _dec4$d, _dec5$9, _dec6$6, _dec7$3, _dec8$2, _dec9, _class$i, _class2$g, _descriptor$g, _descriptor2$e, _descriptor3$d, _descriptor4$5;
|
|
8568
8569
|
var DetailList = (_dec$i = Options({
|
|
8569
8570
|
components: {
|
|
8570
8571
|
DateFilter: DateFilter,
|
|
@@ -8583,7 +8584,7 @@ var DetailList = (_dec$i = Options({
|
|
|
8583
8584
|
}), _dec5$9 = Prop({
|
|
8584
8585
|
type: String,
|
|
8585
8586
|
required: true
|
|
8586
|
-
}), _dec6$
|
|
8587
|
+
}), _dec6$6 = Watch("sortDir"), _dec7$3 = Watch("dateRange"), _dec8$2 = Watch("refreshTrigger"), _dec9 = Watch("reloadTrigger"), _dec$i(_class$i = (_class2$g = /*#__PURE__*/function (_Vue) {
|
|
8587
8588
|
_inherits$1(DetailList, _Vue);
|
|
8588
8589
|
|
|
8589
8590
|
var _super = _createSuper$1(DetailList);
|
|
@@ -8702,7 +8703,7 @@ var DetailList = (_dec$i = Options({
|
|
|
8702
8703
|
enumerable: true,
|
|
8703
8704
|
writable: true,
|
|
8704
8705
|
initializer: null
|
|
8705
|
-
}), _applyDecoratedDescriptor(_class2$g.prototype, "onSortDir", [_dec6$
|
|
8706
|
+
}), _applyDecoratedDescriptor(_class2$g.prototype, "onSortDir", [_dec6$6], Object.getOwnPropertyDescriptor(_class2$g.prototype, "onSortDir"), _class2$g.prototype), _applyDecoratedDescriptor(_class2$g.prototype, "onDateRange", [_dec7$3], Object.getOwnPropertyDescriptor(_class2$g.prototype, "onDateRange"), _class2$g.prototype), _applyDecoratedDescriptor(_class2$g.prototype, "onRefreshTrigger", [_dec8$2], Object.getOwnPropertyDescriptor(_class2$g.prototype, "onRefreshTrigger"), _class2$g.prototype), _applyDecoratedDescriptor(_class2$g.prototype, "onReloadTrigger", [_dec9], Object.getOwnPropertyDescriptor(_class2$g.prototype, "onReloadTrigger"), _class2$g.prototype)), _class2$g)) || _class$i);var _hoisted_1$f = {
|
|
8706
8707
|
key: 0,
|
|
8707
8708
|
class: "shadow overflow-hidden sm:rounded-md border"
|
|
8708
8709
|
};
|
|
@@ -9058,7 +9059,7 @@ function render$m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9058
9059
|
d: "M6 18L18 6M6 6l12 12"
|
|
9059
9060
|
})
|
|
9060
9061
|
]))
|
|
9061
|
-
}var _dec$f, _dec2$e, _dec3$c, _dec4$c, _dec5$8, _dec6$
|
|
9062
|
+
}var _dec$f, _dec2$e, _dec3$c, _dec4$c, _dec5$8, _dec6$5, _dec7$2, _dec8$1, _class$f, _class2$e, _descriptor$e, _descriptor2$c, _descriptor3$c, _descriptor4$4, _descriptor5$3;
|
|
9062
9063
|
var Modal = (_dec$f = Options({
|
|
9063
9064
|
components: {
|
|
9064
9065
|
Dialog: Dialog,
|
|
@@ -9082,7 +9083,7 @@ var Modal = (_dec$f = Options({
|
|
|
9082
9083
|
}), _dec5$8 = Prop({
|
|
9083
9084
|
type: String,
|
|
9084
9085
|
required: false
|
|
9085
|
-
}), _dec6$
|
|
9086
|
+
}), _dec6$5 = Prop({
|
|
9086
9087
|
type: String,
|
|
9087
9088
|
required: false
|
|
9088
9089
|
}), _dec7$2 = Emit(), _dec8$1 = Emit("update:modelValue"), _dec$f(_class$f = (_class2$e = /*#__PURE__*/function (_Vue) {
|
|
@@ -9147,7 +9148,7 @@ var Modal = (_dec$f = Options({
|
|
|
9147
9148
|
enumerable: true,
|
|
9148
9149
|
writable: true,
|
|
9149
9150
|
initializer: null
|
|
9150
|
-
}), _descriptor5$3 = _applyDecoratedDescriptor(_class2$e.prototype, "title", [_dec6$
|
|
9151
|
+
}), _descriptor5$3 = _applyDecoratedDescriptor(_class2$e.prototype, "title", [_dec6$5], {
|
|
9151
9152
|
configurable: true,
|
|
9152
9153
|
enumerable: true,
|
|
9153
9154
|
writable: true,
|
|
@@ -9713,10 +9714,10 @@ function render$d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9713
9714
|
return vue.openBlock(), vue.createBlock("a", {
|
|
9714
9715
|
key: item.name,
|
|
9715
9716
|
href: item.url,
|
|
9716
|
-
class: [_ctx.isActive(item.url) ? 'bg-gray-100 text-gray-900' : 'text-gray-
|
|
9717
|
+
class: [_ctx.isActive(item.url) ? 'bg-gray-100 text-gray-900' : 'text-gray-700 hover:bg-gray-50 hover:text-gray-900', 'group flex items-center px-2 py-2 text-base font-medium rounded-md'],
|
|
9717
9718
|
target: item.openInTab ? '_blank' : '_self'
|
|
9718
9719
|
}, [(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(item.icon), {
|
|
9719
|
-
class: [_ctx.isActive(item.url) ? 'text-gray-
|
|
9720
|
+
class: [_ctx.isActive(item.url) ? 'text-gray-600' : 'text-gray-500 group-hover:text-gray-600', 'mr-4 h-6 w-6'],
|
|
9720
9721
|
"aria-hidden": "true"
|
|
9721
9722
|
}, null, 8, ["class"])), vue.createTextVNode(" " + vue.toDisplayString(item.name), 1)], 10, ["href", "target"]);
|
|
9722
9723
|
}), 128))])])])];
|
|
@@ -9736,10 +9737,10 @@ function render$d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9736
9737
|
return vue.openBlock(), vue.createBlock("a", {
|
|
9737
9738
|
key: item.name,
|
|
9738
9739
|
href: item.url,
|
|
9739
|
-
class: [_ctx.isActive(item.url) ? 'bg-gray-100 text-gray-900' : 'text-gray-
|
|
9740
|
+
class: [_ctx.isActive(item.url) ? 'bg-gray-100 text-gray-900' : 'text-gray-700 hover:bg-gray-100 hover:text-gray-900', 'group flex items-center px-2 py-2 text-sm font-medium rounded-md'],
|
|
9740
9741
|
target: item.openInTab ? '_blank' : '_self'
|
|
9741
9742
|
}, [(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(item.icon), {
|
|
9742
|
-
class: [_ctx.isActive(item.url) ? 'text-gray-
|
|
9743
|
+
class: [_ctx.isActive(item.url) ? 'text-gray-600' : 'text-gray-500 group-hover:text-gray-600', 'mr-3 h-6 w-6'],
|
|
9743
9744
|
"aria-hidden": "true"
|
|
9744
9745
|
}, null, 8, ["class"])), vue.createTextVNode(" " + vue.toDisplayString(item.name), 1)], 10, ["href", "target"]);
|
|
9745
9746
|
}), 128))])])])])]), vue.createVNode("div", _hoisted_15$2, [vue.createVNode("div", _hoisted_16$2, [vue.createVNode("button", {
|
|
@@ -9786,7 +9787,7 @@ function render$d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9786
9787
|
var active = _ref.active;
|
|
9787
9788
|
return [vue.createVNode("a", {
|
|
9788
9789
|
href: item.url,
|
|
9789
|
-
class: [active ? 'bg-gray-100' : '', 'block px-4 py-2 text-sm text-gray-700']
|
|
9790
|
+
class: [active ? 'bg-gray-100' : '', 'block px-4 py-2 text-sm text-gray-700 font-semibold']
|
|
9790
9791
|
}, vue.toDisplayString(item.name), 11, ["href"])];
|
|
9791
9792
|
}),
|
|
9792
9793
|
_: 2
|
|
@@ -9801,7 +9802,7 @@ function render$d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9801
9802
|
}),
|
|
9802
9803
|
_: 1
|
|
9803
9804
|
})])])]), vue.createVNode("main", _hoisted_23, [vue.createVNode("div", _hoisted_24, [vue.renderSlot(_ctx.$slots, "default")])])])]), vue.createVNode(_component_Flash), vue.createVNode(_component_Spinner)], 64);
|
|
9804
|
-
}SidebarLayout.render = render$d;var _dec$c, _dec2$c, _dec3$a, _dec4$a, _dec5$6, _class$c, _class2$c, _descriptor$c, _descriptor2$a, _descriptor3$a;
|
|
9805
|
+
}SidebarLayout.render = render$d;var _dec$c, _dec2$c, _dec3$a, _dec4$a, _dec5$6, _dec6$4, _class$c, _class2$c, _descriptor$c, _descriptor2$a, _descriptor3$a;
|
|
9805
9806
|
var Slideover = (_dec$c = Options({
|
|
9806
9807
|
name: "Slideover",
|
|
9807
9808
|
components: {
|
|
@@ -9821,7 +9822,7 @@ var Slideover = (_dec$c = Options({
|
|
|
9821
9822
|
}), _dec4$a = Prop({
|
|
9822
9823
|
type: Boolean,
|
|
9823
9824
|
required: true
|
|
9824
|
-
}), _dec5$6 = Emit(), _dec$c(_class$c = (_class2$c = /*#__PURE__*/function (_Vue) {
|
|
9825
|
+
}), _dec5$6 = Emit("close"), _dec6$4 = Emit("update:modelValue"), _dec$c(_class$c = (_class2$c = /*#__PURE__*/function (_Vue) {
|
|
9825
9826
|
_inherits$1(Slideover, _Vue);
|
|
9826
9827
|
|
|
9827
9828
|
var _super = _createSuper$1(Slideover);
|
|
@@ -9849,7 +9850,7 @@ var Slideover = (_dec$c = Options({
|
|
|
9849
9850
|
_createClass$1(Slideover, [{
|
|
9850
9851
|
key: "close",
|
|
9851
9852
|
value: function close() {
|
|
9852
|
-
return;
|
|
9853
|
+
return false;
|
|
9853
9854
|
}
|
|
9854
9855
|
}]);
|
|
9855
9856
|
|
|
@@ -9869,7 +9870,7 @@ var Slideover = (_dec$c = Options({
|
|
|
9869
9870
|
enumerable: true,
|
|
9870
9871
|
writable: true,
|
|
9871
9872
|
initializer: null
|
|
9872
|
-
}), _applyDecoratedDescriptor(_class2$c.prototype, "close", [_dec5$6], Object.getOwnPropertyDescriptor(_class2$c.prototype, "close"), _class2$c.prototype)), _class2$c)) || _class$c);var _hoisted_1$a = {
|
|
9873
|
+
}), _applyDecoratedDescriptor(_class2$c.prototype, "close", [_dec5$6, _dec6$4], Object.getOwnPropertyDescriptor(_class2$c.prototype, "close"), _class2$c.prototype)), _class2$c)) || _class$c);var _hoisted_1$a = {
|
|
9873
9874
|
class: "absolute inset-0 overflow-hidden"
|
|
9874
9875
|
};
|
|
9875
9876
|
var _hoisted_2$9 = {
|
|
@@ -10160,7 +10161,7 @@ function render$b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10160
10161
|
return vue.openBlock(), vue.createBlock("a", {
|
|
10161
10162
|
key: item.name,
|
|
10162
10163
|
href: item.url,
|
|
10163
|
-
class: [_ctx.isActive(item.url) ? 'border-blue-500 text-gray-900' : 'border-transparent text-gray-
|
|
10164
|
+
class: [_ctx.isActive(item.url) ? 'border-blue-500 text-gray-900' : 'border-transparent text-gray-700 hover:text-gray-900 hover:border-blue-500', 'inline-flex items-center px-1 pt-1 border-b-2 text-sm font-semibold'],
|
|
10164
10165
|
"aria-current": _ctx.isActive(item.url) ? 'page' : undefined
|
|
10165
10166
|
}, vue.toDisplayString(item.name), 11, ["href", "aria-current"]);
|
|
10166
10167
|
}), 128))])]), vue.createVNode("div", _hoisted_7$3, [vue.createVNode(_component_Menu, {
|
|
@@ -10198,7 +10199,7 @@ function render$b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10198
10199
|
var active = _ref2.active;
|
|
10199
10200
|
return [vue.createVNode("a", {
|
|
10200
10201
|
href: item.url,
|
|
10201
|
-
class: [active ? 'bg-gray-100' : '', 'block px-4 py-2 text-sm text-gray-700']
|
|
10202
|
+
class: [active ? 'bg-gray-100' : '', 'block px-4 py-2 text-sm text-gray-700 font-semibold']
|
|
10202
10203
|
}, vue.toDisplayString(item.name), 11, ["href"])];
|
|
10203
10204
|
}),
|
|
10204
10205
|
_: 2
|
|
@@ -10235,7 +10236,7 @@ function render$b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10235
10236
|
return vue.openBlock(), vue.createBlock("a", {
|
|
10236
10237
|
key: item.name,
|
|
10237
10238
|
href: item.url,
|
|
10238
|
-
class: [_ctx.isActive(item.url) ? 'bg-blue-50 border-blue-500 text-blue-700' : 'border-transparent text-gray-
|
|
10239
|
+
class: [_ctx.isActive(item.url) ? 'bg-blue-50 border-blue-500 text-blue-700' : 'border-transparent text-gray-700 hover:bg-gray-50 hover:border-gray-300 hover:text-gray-900', 'block pl-3 pr-4 py-2 border-l-4 text-base font-semibold'],
|
|
10239
10240
|
"aria-current": _ctx.isActive(item.url) ? 'page' : undefined
|
|
10240
10241
|
}, vue.toDisplayString(item.name), 11, ["href", "aria-current"]);
|
|
10241
10242
|
}), 128))]), vue.createVNode("div", _hoisted_12$1, [vue.createVNode("div", _hoisted_13$1, [vue.createVNode("div", _hoisted_14$1, [vue.createVNode(_component_UserCircleIcon, {
|
|
@@ -10250,7 +10251,7 @@ function render$b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10250
10251
|
return vue.openBlock(), vue.createBlock("a", {
|
|
10251
10252
|
key: item.name,
|
|
10252
10253
|
href: item.url,
|
|
10253
|
-
class: "block px-4 py-2 text-base font-medium text-gray-
|
|
10254
|
+
class: "block px-4 py-2 text-base font-medium text-gray-700 hover:text-gray-900 hover:bg-gray-100"
|
|
10254
10255
|
}, vue.toDisplayString(item.name), 9, ["href"]);
|
|
10255
10256
|
}), 128))])])];
|
|
10256
10257
|
}),
|
|
@@ -10331,7 +10332,7 @@ var _hoisted_7$2 = {
|
|
|
10331
10332
|
function render$a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10332
10333
|
return vue.openBlock(), vue.createBlock("div", _hoisted_1$8, [vue.createVNode("div", _hoisted_2$7, [vue.createVNode("div", _hoisted_3$4, [vue.createVNode("div", _hoisted_4$2, [vue.createVNode("table", _hoisted_5$2, [vue.createVNode("thead", null, [vue.createVNode("tr", null, [(vue.openBlock(true), vue.createBlock(vue.Fragment, null, vue.renderList(_ctx.tableData.columns, function (col, idx) {
|
|
10333
10334
|
return vue.openBlock(), vue.createBlock("th", {
|
|
10334
|
-
class: "px-6 py-3 text-xs font-medium tracking-wider text-left text-gray-
|
|
10335
|
+
class: "px-6 py-3 text-xs font-medium tracking-wider text-left text-gray-900 uppercase bg-gray-50 leading-4",
|
|
10335
10336
|
key: idx,
|
|
10336
10337
|
textContent: vue.toDisplayString(col.display)
|
|
10337
10338
|
}, null, 8, ["textContent"]);
|
|
@@ -10340,7 +10341,7 @@ function render$a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10340
10341
|
key: item.id ? item.id : rowIdx
|
|
10341
10342
|
}, [(vue.openBlock(true), vue.createBlock(vue.Fragment, null, vue.renderList(_ctx.tableData.columns, function (col, colIdx) {
|
|
10342
10343
|
return vue.openBlock(), vue.createBlock("td", {
|
|
10343
|
-
class: "px-6 py-4 text-sm text-gray-
|
|
10344
|
+
class: "px-6 py-4 text-sm text-gray-700 whitespace-nowrap leading-5",
|
|
10344
10345
|
key: rowIdx + '-' + colIdx
|
|
10345
10346
|
}, [col.component ? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(col.component), {
|
|
10346
10347
|
key: 0,
|
|
@@ -10354,7 +10355,7 @@ function render$a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10354
10355
|
}), 128))]);
|
|
10355
10356
|
}), 128)), _ctx.tableData.items.length == 0 ? (vue.openBlock(), vue.createBlock("tr", _hoisted_7$2, [vue.createVNode("td", {
|
|
10356
10357
|
colspan: _ctx.tableData.columns.length,
|
|
10357
|
-
class: "px-6 py-4 text-sm text-gray-
|
|
10358
|
+
class: "px-6 py-4 text-sm text-gray-700 whitespace-nowrap leading-5"
|
|
10358
10359
|
}, " No items were found! ", 8, ["colspan"])])) : vue.createCommentVNode("", true)])])])])])]);
|
|
10359
10360
|
}StaticTable.render = render$a;var _dec$9, _dec2$9, _dec3$8, _dec4$8, _dec5$4, _dec6$2, _dec7$1, _dec8, _class$9, _class2$9, _descriptor$9, _descriptor2$8, _descriptor3$8, _descriptor4$1, _descriptor5$1;
|
|
10360
10361
|
var Steps = (_dec$9 = Options({
|
|
@@ -10797,7 +10798,7 @@ function render$8(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10797
10798
|
}), _ctx.dateRangeChanged]
|
|
10798
10799
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])])) : vue.createCommentVNode("", true)]), vue.createVNode("div", _hoisted_7, [vue.createVNode("table", _hoisted_8, [vue.createVNode("thead", null, [vue.createVNode("tr", null, [(vue.openBlock(true), vue.createBlock(vue.Fragment, null, vue.renderList(_ctx.tableData.columns, function (col, idx) {
|
|
10799
10800
|
return vue.openBlock(), vue.createBlock("th", {
|
|
10800
|
-
class: "px-6 py-3 text-xs font-medium tracking-wider text-left text-gray-
|
|
10801
|
+
class: "px-6 py-3 text-xs font-medium tracking-wider text-left text-gray-900 uppercase border-b border-gray-200 bg-gray-50 leading-4",
|
|
10801
10802
|
key: idx
|
|
10802
10803
|
}, [!!col.display.length ? (vue.openBlock(), vue.createBlock("span", _hoisted_9, vue.toDisplayString(col.display), 1)) : vue.createCommentVNode("", true), col.sort ? (vue.openBlock(), vue.createBlock("span", {
|
|
10803
10804
|
key: 1,
|
|
@@ -10817,7 +10818,7 @@ function render$8(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10817
10818
|
}
|
|
10818
10819
|
}, [(vue.openBlock(true), vue.createBlock(vue.Fragment, null, vue.renderList(_ctx.tableData.columns, function (col, colIdx) {
|
|
10819
10820
|
return vue.openBlock(), vue.createBlock("td", {
|
|
10820
|
-
class: ["px-6 py-4 text-sm text-gray-
|
|
10821
|
+
class: ["px-6 py-4 text-sm text-gray-700 whitespace-nowrap border-b border-gray-200 leading-5", col.class],
|
|
10821
10822
|
key: rowIdx + '-' + colIdx
|
|
10822
10823
|
}, [col.component ? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(col.component), {
|
|
10823
10824
|
key: 0,
|
|
@@ -10832,7 +10833,7 @@ function render$8(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10832
10833
|
}), 128))], 10, ["onClick"]);
|
|
10833
10834
|
}), 128)), !_ctx.hasContent ? (vue.openBlock(), vue.createBlock("tr", _hoisted_17, [vue.createVNode("td", {
|
|
10834
10835
|
colspan: _ctx.tableData.columns.length,
|
|
10835
|
-
class: "px-6 py-4 text-sm text-gray-
|
|
10836
|
+
class: "px-6 py-4 text-sm text-gray-700 whitespace-nowrap border-b border-gray-200 leading-5"
|
|
10836
10837
|
}, " No items were found! ", 8, ["colspan"])])) : vue.createCommentVNode("", true)])])]), _ctx.hasContent ? (vue.openBlock(), vue.createBlock(_component_Paginator, {
|
|
10837
10838
|
key: 0,
|
|
10838
10839
|
modelValue: _ctx.pagination,
|
|
@@ -10890,23 +10891,23 @@ var Tabs = (_dec$7 = Options({
|
|
|
10890
10891
|
var c = "";
|
|
10891
10892
|
|
|
10892
10893
|
if (this.pillDesign) {
|
|
10893
|
-
c = "px-12 py-2 font-
|
|
10894
|
+
c = "px-12 py-2 font-semibold text-md leading-5 rounded-t-md focus:outline-none ";
|
|
10894
10895
|
|
|
10895
10896
|
if (this.modelValue === currentTab) {
|
|
10896
10897
|
c = c + "focus:bg-white text-gray-700 bg-white border-b-2 border-blue-500";
|
|
10897
10898
|
} else {
|
|
10898
|
-
c = c + "text-gray-
|
|
10899
|
+
c = c + "text-gray-700 hover:text-gray-900 focus:text-gray-900 focus:bg-gray-100 border border-gray-200";
|
|
10899
10900
|
}
|
|
10900
10901
|
|
|
10901
10902
|
return c;
|
|
10902
10903
|
}
|
|
10903
10904
|
|
|
10904
|
-
c = "px-1 py-4 text-sm font-
|
|
10905
|
+
c = "px-1 py-4 text-sm font-semibold border-b-2 whitespace-nowrap leading-5 focus:outline-none ";
|
|
10905
10906
|
|
|
10906
10907
|
if (this.modelValue === currentTab) {
|
|
10907
10908
|
c = c + "border-blue-500 text-xy-blue focus:text-blue-800 focus:border-blue-700";
|
|
10908
10909
|
} else {
|
|
10909
|
-
c = c + "border-transparent text-gray-
|
|
10910
|
+
c = c + "border-transparent text-gray-700 hover:text-gray-900 hover:border-gray-300 focus:text-gray-900 focus:border-gray-300";
|
|
10910
10911
|
}
|
|
10911
10912
|
|
|
10912
10913
|
if (pastFirstTab) c = c + " ml-8";
|
|
@@ -11094,13 +11095,13 @@ var _hoisted_2$3 = {
|
|
|
11094
11095
|
class: "h-5 flex items-center"
|
|
11095
11096
|
};
|
|
11096
11097
|
var _hoisted_3$1 = {
|
|
11097
|
-
class: "ml-3 text-sm leading-
|
|
11098
|
+
class: "ml-3 text-sm font-semibold leading-snug text-gray-900"
|
|
11098
11099
|
};
|
|
11099
11100
|
function render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11100
11101
|
return vue.openBlock(), vue.createBlock("div", _hoisted_1$3, [vue.createVNode("div", _hoisted_2$3, [vue.createVNode("input", vue.mergeProps({
|
|
11101
11102
|
"aria-labelledby": _ctx.label ? "".concat(_ctx.uuid, "-label") : undefined,
|
|
11102
11103
|
checked: _ctx.modelValue,
|
|
11103
|
-
class: "focus:ring-blue-500 h-4 w-4 text-
|
|
11104
|
+
class: "focus:ring-blue-500 h-4 w-4 text-blue-500 border-gray-600 rounded disabled:opacity-50 disabled:cursor-not-allowed",
|
|
11104
11105
|
id: _ctx.uuid,
|
|
11105
11106
|
type: "checkbox"
|
|
11106
11107
|
}, _objectSpread2$1(_objectSpread2$1({}, _ctx.$attrs), {}, {
|
|
@@ -11110,11 +11111,8 @@ function render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11110
11111
|
})), null, 16, ["aria-labelledby", "checked", "id"])]), vue.createVNode("div", _hoisted_3$1, [vue.createVNode("label", {
|
|
11111
11112
|
id: "".concat(_ctx.uuid, "-label"),
|
|
11112
11113
|
for: _ctx.uuid,
|
|
11113
|
-
class: {
|
|
11114
|
-
'font-semibold': _ctx.emphasis
|
|
11115
|
-
},
|
|
11116
11114
|
textContent: vue.toDisplayString(_ctx.label)
|
|
11117
|
-
}, null,
|
|
11115
|
+
}, null, 8, ["id", "for", "textContent"])])]);
|
|
11118
11116
|
}Checkbox.render = render$5;var _dec$4, _dec2$4, _dec3$4, _dec4$4, _dec5$1, _class$4, _class2$4, _descriptor$4, _descriptor2$4, _descriptor3$4;
|
|
11119
11117
|
var MultiCheckboxes = (_dec$4 = Options({
|
|
11120
11118
|
name: "MultiCheckboxes",
|
|
@@ -11194,7 +11192,7 @@ var _hoisted_2$2 = {
|
|
|
11194
11192
|
class: "flex items-center h-5"
|
|
11195
11193
|
};
|
|
11196
11194
|
var _hoisted_3 = {
|
|
11197
|
-
class: "ml-3 text-sm leading-
|
|
11195
|
+
class: "ml-3 text-sm font-semibold leading-snug text-gray-900"
|
|
11198
11196
|
};
|
|
11199
11197
|
function render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11200
11198
|
var _component_InputLabel = vue.resolveComponent("InputLabel");
|
|
@@ -11209,7 +11207,7 @@ function render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11209
11207
|
key: option.value
|
|
11210
11208
|
}, [vue.createVNode("div", _hoisted_1$2, [vue.createVNode("div", _hoisted_2$2, [vue.withDirectives(vue.createVNode("input", vue.mergeProps({
|
|
11211
11209
|
type: "checkbox",
|
|
11212
|
-
class: "focus:ring-blue-500 h-4 w-4 text-xy-blue border-gray-
|
|
11210
|
+
class: "focus:ring-blue-500 h-4 w-4 text-xy-blue border-gray-600 rounded disabled:opacity-50 disabled:cursor-not-allowed",
|
|
11213
11211
|
id: "".concat(_ctx.uuid, "-").concat(index),
|
|
11214
11212
|
value: option.value,
|
|
11215
11213
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = function ($event) {
|
|
@@ -11282,7 +11280,7 @@ var Radio = (_dec$3 = Options({
|
|
|
11282
11280
|
class: "mt-1 space-y-2"
|
|
11283
11281
|
};
|
|
11284
11282
|
var _hoisted_2$1 = {
|
|
11285
|
-
class: "block ml-2 text-sm font-
|
|
11283
|
+
class: "block ml-2 text-sm font-semibold text-gray-900"
|
|
11286
11284
|
};
|
|
11287
11285
|
function render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11288
11286
|
var _component_InputLabel = vue.resolveComponent("InputLabel");
|
|
@@ -11301,7 +11299,7 @@ function render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11301
11299
|
for: "".concat(_ctx.uuid, "-").concat(index)
|
|
11302
11300
|
}, [vue.createVNode("input", vue.mergeProps({
|
|
11303
11301
|
checked: _ctx.modelValue === option.value,
|
|
11304
|
-
class: "w-4 h-4 border-gray-
|
|
11302
|
+
class: "w-4 h-4 border-gray-600 focus:ring-blue-500 text-xy-blue",
|
|
11305
11303
|
id: "".concat(_ctx.uuid, "-").concat(index),
|
|
11306
11304
|
name: _ctx.uuid,
|
|
11307
11305
|
type: "radio",
|
|
@@ -11336,7 +11334,7 @@ var Select = (_dec$2 = Options({
|
|
|
11336
11334
|
required: false,
|
|
11337
11335
|
default: "Select an option"
|
|
11338
11336
|
}), _dec7 = Prop({
|
|
11339
|
-
type: String,
|
|
11337
|
+
type: [String, Number],
|
|
11340
11338
|
required: true
|
|
11341
11339
|
}), _dec$2(_class$2 = (_class2$2 = /*#__PURE__*/function (_Vue) {
|
|
11342
11340
|
_inherits$1(Select, _Vue);
|
|
@@ -11376,9 +11374,9 @@ var Select = (_dec$2 = Options({
|
|
|
11376
11374
|
get: function get() {
|
|
11377
11375
|
var design = this.design ? this.design : "undefined";
|
|
11378
11376
|
return {
|
|
11379
|
-
undefined: "mt-1 block w-full border border-gray-
|
|
11380
|
-
standard: "mt-1 block w-full border border-gray-
|
|
11381
|
-
compressed: "appearance-none rounded-none relative block w-full px-3 py-2 border border-gray-
|
|
11377
|
+
undefined: "mt-1 block w-full border border-gray-600 rounded-md shadow-sm py-2 px-3 focus:outline-none focus:ring-blue-500 focus:border-blue-500 sm:text-sm",
|
|
11378
|
+
standard: "mt-1 block w-full border border-gray-600 rounded-md shadow-sm py-2 px-3 focus:outline-none focus:ring-blue-500 focus:border-blue-500 sm:text-sm",
|
|
11379
|
+
compressed: "appearance-none rounded-none relative block w-full px-3 py-2 border border-gray-600 text-gray-900 focus:outline-none focus:ring-blue-500 focus:border-blue-500 focus:z-10 sm:text-sm"
|
|
11382
11380
|
}[design];
|
|
11383
11381
|
}
|
|
11384
11382
|
}]);
|
|
@@ -11521,7 +11519,7 @@ var TextArea = (_dec$1 = Options({
|
|
|
11521
11519
|
}, null, 8, ["id", "for", "label"]), vue.createVNode("textarea", vue.mergeProps({
|
|
11522
11520
|
"aria-labelledby": _ctx.label ? "".concat(_ctx.uuid, "-label") : undefined,
|
|
11523
11521
|
"aria-describedby": _ctx.help ? "".concat(_ctx.uuid, "-help") : undefined,
|
|
11524
|
-
class: ['mt-1', 'sm:text-sm', 'block', 'shadow-sm', 'focus:ring-blue-500', 'focus:border-blue-500', 'border-gray-
|
|
11522
|
+
class: ['mt-1', 'sm:text-sm', 'block', 'shadow-sm', 'focus:ring-blue-500', 'focus:border-blue-500', 'border-gray-600', 'rounded-md', 'w-full'],
|
|
11525
11523
|
id: _ctx.uuid,
|
|
11526
11524
|
value: _ctx.modelValue,
|
|
11527
11525
|
onInput: _cache[1] || (_cache[1] = function ($event) {
|
|
@@ -11598,11 +11596,11 @@ var YesOrNoRadio = (_dec = Options({
|
|
|
11598
11596
|
writable: true,
|
|
11599
11597
|
initializer: null
|
|
11600
11598
|
})), _class2)) || _class);var _hoisted_1 = /*#__PURE__*/vue.createVNode("span", {
|
|
11601
|
-
class: "block ml-2 text-sm font-
|
|
11599
|
+
class: "block ml-2 text-sm font-semibold text-gray-900"
|
|
11602
11600
|
}, "Yes", -1);
|
|
11603
11601
|
|
|
11604
11602
|
var _hoisted_2 = /*#__PURE__*/vue.createVNode("span", {
|
|
11605
|
-
class: "block ml-2 text-sm font-
|
|
11603
|
+
class: "block ml-2 text-sm font-semibold text-gray-900"
|
|
11606
11604
|
}, "No", -1);
|
|
11607
11605
|
|
|
11608
11606
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
@@ -11619,7 +11617,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11619
11617
|
for: "".concat(_ctx.hasNameAttr ? _ctx.name : _ctx.uuid, "-true")
|
|
11620
11618
|
}, [vue.createVNode("input", vue.mergeProps({
|
|
11621
11619
|
type: "radio",
|
|
11622
|
-
class: "w-4 h-4 border-gray-
|
|
11620
|
+
class: "w-4 h-4 border-gray-600 focus:ring-blue-500 text-xy-blue",
|
|
11623
11621
|
id: "".concat(_ctx.hasNameAttr ? _ctx.name : _ctx.uuid, "-true"),
|
|
11624
11622
|
name: _ctx.hasNameAttr ? _ctx.name : _ctx.uuid,
|
|
11625
11623
|
value: true,
|
|
@@ -11635,7 +11633,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11635
11633
|
for: "".concat(_ctx.hasNameAttr ? _ctx.name : _ctx.uuid, "-false")
|
|
11636
11634
|
}, [vue.createVNode("input", vue.mergeProps({
|
|
11637
11635
|
type: "radio",
|
|
11638
|
-
class: "w-4 h-4 border-gray-
|
|
11636
|
+
class: "w-4 h-4 border-gray-600 focus:ring-blue-500 text-xy-blue",
|
|
11639
11637
|
id: "".concat(_ctx.hasNameAttr ? _ctx.name : _ctx.uuid, "-false"),
|
|
11640
11638
|
name: _ctx.hasNameAttr ? _ctx.name : _ctx.uuid,
|
|
11641
11639
|
value: false,
|
package/package.json
CHANGED
|
@@ -1,18 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xy-planning-network/trees",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.3",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": "github:xy-planning-network/trees",
|
|
7
7
|
"main": "dist/trees.ssr.js",
|
|
8
8
|
"browser": "dist/trees.esm.js",
|
|
9
9
|
"module": "dist/trees.esm.js",
|
|
10
|
+
"style": "src/index.css",
|
|
10
11
|
"unpkg": "dist/trees.min.js",
|
|
11
12
|
"types": "trees.d.ts",
|
|
12
13
|
"files": [
|
|
14
|
+
"config/*",
|
|
13
15
|
"dist/*",
|
|
14
16
|
"trees.d.ts",
|
|
15
|
-
"src/**/*.vue"
|
|
17
|
+
"src/**/*.vue",
|
|
18
|
+
"src/**/*.css"
|
|
16
19
|
],
|
|
17
20
|
"sideEffects": [
|
|
18
21
|
"*.css",
|
|
@@ -44,6 +47,7 @@
|
|
|
44
47
|
"@rollup/plugin-replace": "^2.3.4",
|
|
45
48
|
"@tailwindcss/aspect-ratio": "^0.2.0",
|
|
46
49
|
"@tailwindcss/forms": "^0.3.2",
|
|
50
|
+
"@tailwindcss/line-clamp": "^0.2.2",
|
|
47
51
|
"@tailwindcss/typography": "^0.4.0",
|
|
48
52
|
"@typescript-eslint/eslint-plugin": "^4.22.0",
|
|
49
53
|
"@typescript-eslint/parser": "^4.22.0",
|
|
@@ -68,7 +72,6 @@
|
|
|
68
72
|
"rollup-plugin-terser": "^7.0.2",
|
|
69
73
|
"rollup-plugin-vue": "^6.0.0",
|
|
70
74
|
"tailwindcss": "^2.2.0",
|
|
71
|
-
"tailwindcss-font-inter": "^2.0.5",
|
|
72
75
|
"typescript": "~4.1.5",
|
|
73
76
|
"vue": "^3.0.5",
|
|
74
77
|
"vue-class-component": "^8.0.0-0",
|
|
@@ -77,6 +80,7 @@
|
|
|
77
80
|
"peerDependencies": {
|
|
78
81
|
"@tailwindcss/aspect-ratio": "0.x",
|
|
79
82
|
"@tailwindcss/forms": "0.x",
|
|
83
|
+
"@tailwindcss/line-clamp": "^0.2.2",
|
|
80
84
|
"@tailwindcss/typography": "0.x",
|
|
81
85
|
"autoprefixer": "10.x",
|
|
82
86
|
"postcss": "8.x",
|