@xy-planning-network/trees 0.2.63 → 0.3.4
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 -66
- package/dist/trees.min.js +2 -2
- package/dist/trees.ssr.js +63 -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,9 +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
|
|
1723
|
+
axios_1.default = _default;var axios = axios_1;var env = undefined || {};
|
|
1724
1724
|
var apiAxiosInstance = axios.create({
|
|
1725
|
-
baseURL:
|
|
1725
|
+
baseURL: env.VITE_APP_BASE_API_URL || process.env.VUE_APP_BASE_API_URL || "/api/v1",
|
|
1726
1726
|
responseType: "json",
|
|
1727
1727
|
withCredentials: true
|
|
1728
1728
|
});
|
|
@@ -5250,7 +5250,7 @@ function render$x(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5250
5250
|
}, {
|
|
5251
5251
|
default: vue.withCtx(function () {
|
|
5252
5252
|
return [vue.createVNode(_component_MenuButton, {
|
|
5253
|
-
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",
|
|
5254
5254
|
disabled: !_ctx.hasActionItems
|
|
5255
5255
|
}, {
|
|
5256
5256
|
default: vue.withCtx(function () {
|
|
@@ -5284,7 +5284,7 @@ function render$x(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5284
5284
|
var active = _ref.active;
|
|
5285
5285
|
return [vue.createVNode("button", {
|
|
5286
5286
|
type: "submit",
|
|
5287
|
-
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'],
|
|
5288
5288
|
textContent: vue.toDisplayString(item.label),
|
|
5289
5289
|
onClick: function onClick($event) {
|
|
5290
5290
|
return _ctx.emitEvent(item.event);
|
|
@@ -5350,7 +5350,7 @@ function render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5350
5350
|
class: "mt-1 text-3xl leading-9 font-semibold text-xy-blue",
|
|
5351
5351
|
textContent: vue.toDisplayString(card.primary)
|
|
5352
5352
|
}, null, 8, ["textContent"]), vue.createVNode("dt", {
|
|
5353
|
-
class: "text-sm leading-5 font-medium text-gray-
|
|
5353
|
+
class: "text-sm leading-5 font-medium text-gray-700 truncate",
|
|
5354
5354
|
textContent: vue.toDisplayString(card.secondary)
|
|
5355
5355
|
}, null, 8, ["textContent"])])])]);
|
|
5356
5356
|
}), 128))], 2);
|
|
@@ -8020,7 +8020,7 @@ var InputLabel = (_dec$o = Options({
|
|
|
8020
8020
|
return _ctx.label ? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.tag), vue.mergeProps({
|
|
8021
8021
|
key: 0
|
|
8022
8022
|
}, _objectSpread2$1(_objectSpread2$1({}, _ctx.$attrs), {}, {
|
|
8023
|
-
class: 'block my-
|
|
8023
|
+
class: 'block my-1 text-sm font-semibold leading-snug text-gray-900'
|
|
8024
8024
|
})), {
|
|
8025
8025
|
default: vue.withCtx(function () {
|
|
8026
8026
|
return [vue.createTextVNode(vue.toDisplayString(_ctx.label), 1)];
|
|
@@ -8075,7 +8075,7 @@ var InputHelp = (_dec$n = Options({
|
|
|
8075
8075
|
return _ctx.text ? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.tag), vue.mergeProps({
|
|
8076
8076
|
key: 0
|
|
8077
8077
|
}, _objectSpread2$1(_objectSpread2$1({}, _ctx.$attrs), {}, {
|
|
8078
|
-
class: '
|
|
8078
|
+
class: 'mt-2 text-sm leading-snug font-semibold text-gray-700'
|
|
8079
8079
|
})), {
|
|
8080
8080
|
default: vue.withCtx(function () {
|
|
8081
8081
|
return [vue.createTextVNode(vue.toDisplayString(_ctx.text), 1)];
|
|
@@ -8177,7 +8177,7 @@ var BaseInput = (_dec$m = Options({
|
|
|
8177
8177
|
}, null, 8, ["id", "for", "label"]), vue.createVNode("input", vue.mergeProps({
|
|
8178
8178
|
"aria-labelledby": _ctx.label ? "".concat(_ctx.uuid, "-label") : undefined,
|
|
8179
8179
|
"aria-describedby": _ctx.help ? "".concat(_ctx.uuid, "-help") : undefined,
|
|
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-
|
|
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'] : [])),
|
|
8181
8181
|
id: _ctx.uuid,
|
|
8182
8182
|
placeholder: _ctx.label,
|
|
8183
8183
|
type: _ctx.type,
|
|
@@ -8189,7 +8189,7 @@ var BaseInput = (_dec$m = Options({
|
|
|
8189
8189
|
id: "".concat(_ctx.uuid, "-help"),
|
|
8190
8190
|
text: _ctx.help
|
|
8191
8191
|
}, null, 8, ["id", "text"])], 64);
|
|
8192
|
-
}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;
|
|
8193
8193
|
var DateRangePicker = (_dec$l = Options({
|
|
8194
8194
|
name: "DateRangePicker",
|
|
8195
8195
|
components: {
|
|
@@ -8207,7 +8207,7 @@ var DateRangePicker = (_dec$l = Options({
|
|
|
8207
8207
|
}), _dec5$b = Prop({
|
|
8208
8208
|
type: String,
|
|
8209
8209
|
required: false
|
|
8210
|
-
}), _dec6$
|
|
8210
|
+
}), _dec6$8 = Emit("update:modelValue"), _dec$l(_class$l = (_class2$j = /*#__PURE__*/function (_Vue) {
|
|
8211
8211
|
_inherits$1(DateRangePicker, _Vue);
|
|
8212
8212
|
|
|
8213
8213
|
var _super = _createSuper$1(DateRangePicker);
|
|
@@ -8290,7 +8290,7 @@ var DateRangePicker = (_dec$l = Options({
|
|
|
8290
8290
|
enumerable: true,
|
|
8291
8291
|
writable: true,
|
|
8292
8292
|
initializer: null
|
|
8293
|
-
}), _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) {
|
|
8294
8294
|
var _component_BaseInput = vue.resolveComponent("BaseInput");
|
|
8295
8295
|
|
|
8296
8296
|
return vue.openBlock(), vue.createBlock(_component_BaseInput, {
|
|
@@ -8300,7 +8300,7 @@ var DateRangePicker = (_dec$l = Options({
|
|
|
8300
8300
|
label: _ctx.label,
|
|
8301
8301
|
help: _ctx.help
|
|
8302
8302
|
}, null, 8, ["id", "label", "help"]);
|
|
8303
|
-
}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;
|
|
8304
8304
|
var DateFilter = (_dec$k = Options({
|
|
8305
8305
|
components: {
|
|
8306
8306
|
DateRangePicker: DateRangePicker
|
|
@@ -8315,7 +8315,7 @@ var DateFilter = (_dec$k = Options({
|
|
|
8315
8315
|
}), _dec4$e = Prop({
|
|
8316
8316
|
type: String,
|
|
8317
8317
|
required: true
|
|
8318
|
-
}), _dec5$a = Emit(), _dec6$
|
|
8318
|
+
}), _dec5$a = Emit(), _dec6$7 = Emit(), _dec$k(_class$k = (_class2$i = /*#__PURE__*/function (_Vue) {
|
|
8319
8319
|
_inherits$1(DateFilter, _Vue);
|
|
8320
8320
|
|
|
8321
8321
|
var _super = _createSuper$1(DateFilter);
|
|
@@ -8368,7 +8368,7 @@ var DateFilter = (_dec$k = Options({
|
|
|
8368
8368
|
enumerable: true,
|
|
8369
8369
|
writable: true,
|
|
8370
8370
|
initializer: null
|
|
8371
|
-
}), _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 = {
|
|
8372
8372
|
class: "md:flex md:items-center md:justify-between bg-white mx-auto py-4 border-t border-gray-100"
|
|
8373
8373
|
};
|
|
8374
8374
|
var _hoisted_2$f = {
|
|
@@ -8396,7 +8396,7 @@ function render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8396
8396
|
onChange: _cache[1] || (_cache[1] = function ($event) {
|
|
8397
8397
|
return _ctx.sortDirChanged($event.target.value);
|
|
8398
8398
|
}),
|
|
8399
|
-
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"
|
|
8400
8400
|
}, [_hoisted_5$9, _hoisted_6$9], 32), vue.createVNode(_component_DateRangePicker, {
|
|
8401
8401
|
modelValue: _ctx.dateRange,
|
|
8402
8402
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = function ($event) {
|
|
@@ -8544,14 +8544,14 @@ var _hoisted_8$6 = /*#__PURE__*/vue.createVNode("svg", {
|
|
|
8544
8544
|
function render$p(_ctx, _cache, $props, $setup, $data, $options) {
|
|
8545
8545
|
return vue.openBlock(), vue.createBlock("div", _hoisted_1$g, [vue.createVNode("div", _hoisted_2$e, [vue.createVNode("a", {
|
|
8546
8546
|
href: "#",
|
|
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-
|
|
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'],
|
|
8548
8548
|
onClick: _cache[1] || (_cache[1] = vue.withModifiers(function ($event) {
|
|
8549
8549
|
return _ctx.changePage(_ctx.modelValue.page - 1);
|
|
8550
8550
|
}, ["prevent"]))
|
|
8551
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) {
|
|
8552
8552
|
return vue.openBlock(), vue.createBlock("a", {
|
|
8553
8553
|
href: "#",
|
|
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-
|
|
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'],
|
|
8555
8555
|
key: i,
|
|
8556
8556
|
textContent: vue.toDisplayString(i),
|
|
8557
8557
|
onClick: vue.withModifiers(function ($event) {
|
|
@@ -8560,12 +8560,12 @@ function render$p(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8560
8560
|
}, null, 10, ["textContent", "onClick"]);
|
|
8561
8561
|
}), 128))]), vue.createVNode("div", _hoisted_6$8, [vue.createVNode("a", {
|
|
8562
8562
|
href: "#",
|
|
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-
|
|
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'],
|
|
8564
8564
|
onClick: _cache[2] || (_cache[2] = vue.withModifiers(function ($event) {
|
|
8565
8565
|
return _ctx.changePage(_ctx.modelValue.page + 1);
|
|
8566
8566
|
}, ["prevent"]))
|
|
8567
8567
|
}, [_hoisted_7$8, _hoisted_8$6], 2)])]);
|
|
8568
|
-
}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;
|
|
8569
8569
|
var DetailList = (_dec$i = Options({
|
|
8570
8570
|
components: {
|
|
8571
8571
|
DateFilter: DateFilter,
|
|
@@ -8584,7 +8584,7 @@ var DetailList = (_dec$i = Options({
|
|
|
8584
8584
|
}), _dec5$9 = Prop({
|
|
8585
8585
|
type: String,
|
|
8586
8586
|
required: true
|
|
8587
|
-
}), _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) {
|
|
8588
8588
|
_inherits$1(DetailList, _Vue);
|
|
8589
8589
|
|
|
8590
8590
|
var _super = _createSuper$1(DetailList);
|
|
@@ -8703,7 +8703,7 @@ var DetailList = (_dec$i = Options({
|
|
|
8703
8703
|
enumerable: true,
|
|
8704
8704
|
writable: true,
|
|
8705
8705
|
initializer: null
|
|
8706
|
-
}), _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 = {
|
|
8707
8707
|
key: 0,
|
|
8708
8708
|
class: "shadow overflow-hidden sm:rounded-md border"
|
|
8709
8709
|
};
|
|
@@ -9059,7 +9059,7 @@ function render$m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9059
9059
|
d: "M6 18L18 6M6 6l12 12"
|
|
9060
9060
|
})
|
|
9061
9061
|
]))
|
|
9062
|
-
}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;
|
|
9063
9063
|
var Modal = (_dec$f = Options({
|
|
9064
9064
|
components: {
|
|
9065
9065
|
Dialog: Dialog,
|
|
@@ -9083,7 +9083,7 @@ var Modal = (_dec$f = Options({
|
|
|
9083
9083
|
}), _dec5$8 = Prop({
|
|
9084
9084
|
type: String,
|
|
9085
9085
|
required: false
|
|
9086
|
-
}), _dec6$
|
|
9086
|
+
}), _dec6$5 = Prop({
|
|
9087
9087
|
type: String,
|
|
9088
9088
|
required: false
|
|
9089
9089
|
}), _dec7$2 = Emit(), _dec8$1 = Emit("update:modelValue"), _dec$f(_class$f = (_class2$e = /*#__PURE__*/function (_Vue) {
|
|
@@ -9148,7 +9148,7 @@ var Modal = (_dec$f = Options({
|
|
|
9148
9148
|
enumerable: true,
|
|
9149
9149
|
writable: true,
|
|
9150
9150
|
initializer: null
|
|
9151
|
-
}), _descriptor5$3 = _applyDecoratedDescriptor(_class2$e.prototype, "title", [_dec6$
|
|
9151
|
+
}), _descriptor5$3 = _applyDecoratedDescriptor(_class2$e.prototype, "title", [_dec6$5], {
|
|
9152
9152
|
configurable: true,
|
|
9153
9153
|
enumerable: true,
|
|
9154
9154
|
writable: true,
|
|
@@ -9714,10 +9714,10 @@ function render$d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9714
9714
|
return vue.openBlock(), vue.createBlock("a", {
|
|
9715
9715
|
key: item.name,
|
|
9716
9716
|
href: item.url,
|
|
9717
|
-
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'],
|
|
9718
9718
|
target: item.openInTab ? '_blank' : '_self'
|
|
9719
9719
|
}, [(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(item.icon), {
|
|
9720
|
-
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'],
|
|
9721
9721
|
"aria-hidden": "true"
|
|
9722
9722
|
}, null, 8, ["class"])), vue.createTextVNode(" " + vue.toDisplayString(item.name), 1)], 10, ["href", "target"]);
|
|
9723
9723
|
}), 128))])])])];
|
|
@@ -9737,10 +9737,10 @@ function render$d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9737
9737
|
return vue.openBlock(), vue.createBlock("a", {
|
|
9738
9738
|
key: item.name,
|
|
9739
9739
|
href: item.url,
|
|
9740
|
-
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'],
|
|
9741
9741
|
target: item.openInTab ? '_blank' : '_self'
|
|
9742
9742
|
}, [(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(item.icon), {
|
|
9743
|
-
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'],
|
|
9744
9744
|
"aria-hidden": "true"
|
|
9745
9745
|
}, null, 8, ["class"])), vue.createTextVNode(" " + vue.toDisplayString(item.name), 1)], 10, ["href", "target"]);
|
|
9746
9746
|
}), 128))])])])])]), vue.createVNode("div", _hoisted_15$2, [vue.createVNode("div", _hoisted_16$2, [vue.createVNode("button", {
|
|
@@ -9787,7 +9787,7 @@ function render$d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9787
9787
|
var active = _ref.active;
|
|
9788
9788
|
return [vue.createVNode("a", {
|
|
9789
9789
|
href: item.url,
|
|
9790
|
-
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']
|
|
9791
9791
|
}, vue.toDisplayString(item.name), 11, ["href"])];
|
|
9792
9792
|
}),
|
|
9793
9793
|
_: 2
|
|
@@ -9802,7 +9802,7 @@ function render$d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9802
9802
|
}),
|
|
9803
9803
|
_: 1
|
|
9804
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);
|
|
9805
|
-
}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;
|
|
9806
9806
|
var Slideover = (_dec$c = Options({
|
|
9807
9807
|
name: "Slideover",
|
|
9808
9808
|
components: {
|
|
@@ -9822,7 +9822,7 @@ var Slideover = (_dec$c = Options({
|
|
|
9822
9822
|
}), _dec4$a = Prop({
|
|
9823
9823
|
type: Boolean,
|
|
9824
9824
|
required: true
|
|
9825
|
-
}), _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) {
|
|
9826
9826
|
_inherits$1(Slideover, _Vue);
|
|
9827
9827
|
|
|
9828
9828
|
var _super = _createSuper$1(Slideover);
|
|
@@ -9850,7 +9850,7 @@ var Slideover = (_dec$c = Options({
|
|
|
9850
9850
|
_createClass$1(Slideover, [{
|
|
9851
9851
|
key: "close",
|
|
9852
9852
|
value: function close() {
|
|
9853
|
-
return;
|
|
9853
|
+
return false;
|
|
9854
9854
|
}
|
|
9855
9855
|
}]);
|
|
9856
9856
|
|
|
@@ -9870,7 +9870,7 @@ var Slideover = (_dec$c = Options({
|
|
|
9870
9870
|
enumerable: true,
|
|
9871
9871
|
writable: true,
|
|
9872
9872
|
initializer: null
|
|
9873
|
-
}), _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 = {
|
|
9874
9874
|
class: "absolute inset-0 overflow-hidden"
|
|
9875
9875
|
};
|
|
9876
9876
|
var _hoisted_2$9 = {
|
|
@@ -10161,7 +10161,7 @@ function render$b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10161
10161
|
return vue.openBlock(), vue.createBlock("a", {
|
|
10162
10162
|
key: item.name,
|
|
10163
10163
|
href: item.url,
|
|
10164
|
-
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'],
|
|
10165
10165
|
"aria-current": _ctx.isActive(item.url) ? 'page' : undefined
|
|
10166
10166
|
}, vue.toDisplayString(item.name), 11, ["href", "aria-current"]);
|
|
10167
10167
|
}), 128))])]), vue.createVNode("div", _hoisted_7$3, [vue.createVNode(_component_Menu, {
|
|
@@ -10199,7 +10199,7 @@ function render$b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10199
10199
|
var active = _ref2.active;
|
|
10200
10200
|
return [vue.createVNode("a", {
|
|
10201
10201
|
href: item.url,
|
|
10202
|
-
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']
|
|
10203
10203
|
}, vue.toDisplayString(item.name), 11, ["href"])];
|
|
10204
10204
|
}),
|
|
10205
10205
|
_: 2
|
|
@@ -10236,7 +10236,7 @@ function render$b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10236
10236
|
return vue.openBlock(), vue.createBlock("a", {
|
|
10237
10237
|
key: item.name,
|
|
10238
10238
|
href: item.url,
|
|
10239
|
-
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'],
|
|
10240
10240
|
"aria-current": _ctx.isActive(item.url) ? 'page' : undefined
|
|
10241
10241
|
}, vue.toDisplayString(item.name), 11, ["href", "aria-current"]);
|
|
10242
10242
|
}), 128))]), vue.createVNode("div", _hoisted_12$1, [vue.createVNode("div", _hoisted_13$1, [vue.createVNode("div", _hoisted_14$1, [vue.createVNode(_component_UserCircleIcon, {
|
|
@@ -10251,7 +10251,7 @@ function render$b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10251
10251
|
return vue.openBlock(), vue.createBlock("a", {
|
|
10252
10252
|
key: item.name,
|
|
10253
10253
|
href: item.url,
|
|
10254
|
-
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"
|
|
10255
10255
|
}, vue.toDisplayString(item.name), 9, ["href"]);
|
|
10256
10256
|
}), 128))])])];
|
|
10257
10257
|
}),
|
|
@@ -10332,7 +10332,7 @@ var _hoisted_7$2 = {
|
|
|
10332
10332
|
function render$a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10333
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) {
|
|
10334
10334
|
return vue.openBlock(), vue.createBlock("th", {
|
|
10335
|
-
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",
|
|
10336
10336
|
key: idx,
|
|
10337
10337
|
textContent: vue.toDisplayString(col.display)
|
|
10338
10338
|
}, null, 8, ["textContent"]);
|
|
@@ -10341,7 +10341,7 @@ function render$a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10341
10341
|
key: item.id ? item.id : rowIdx
|
|
10342
10342
|
}, [(vue.openBlock(true), vue.createBlock(vue.Fragment, null, vue.renderList(_ctx.tableData.columns, function (col, colIdx) {
|
|
10343
10343
|
return vue.openBlock(), vue.createBlock("td", {
|
|
10344
|
-
class: "px-6 py-4 text-sm text-gray-
|
|
10344
|
+
class: "px-6 py-4 text-sm text-gray-700 whitespace-nowrap leading-5",
|
|
10345
10345
|
key: rowIdx + '-' + colIdx
|
|
10346
10346
|
}, [col.component ? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(col.component), {
|
|
10347
10347
|
key: 0,
|
|
@@ -10355,7 +10355,7 @@ function render$a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10355
10355
|
}), 128))]);
|
|
10356
10356
|
}), 128)), _ctx.tableData.items.length == 0 ? (vue.openBlock(), vue.createBlock("tr", _hoisted_7$2, [vue.createVNode("td", {
|
|
10357
10357
|
colspan: _ctx.tableData.columns.length,
|
|
10358
|
-
class: "px-6 py-4 text-sm text-gray-
|
|
10358
|
+
class: "px-6 py-4 text-sm text-gray-700 whitespace-nowrap leading-5"
|
|
10359
10359
|
}, " No items were found! ", 8, ["colspan"])])) : vue.createCommentVNode("", true)])])])])])]);
|
|
10360
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;
|
|
10361
10361
|
var Steps = (_dec$9 = Options({
|
|
@@ -10798,7 +10798,7 @@ function render$8(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10798
10798
|
}), _ctx.dateRangeChanged]
|
|
10799
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) {
|
|
10800
10800
|
return vue.openBlock(), vue.createBlock("th", {
|
|
10801
|
-
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",
|
|
10802
10802
|
key: idx
|
|
10803
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", {
|
|
10804
10804
|
key: 1,
|
|
@@ -10818,7 +10818,7 @@ function render$8(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10818
10818
|
}
|
|
10819
10819
|
}, [(vue.openBlock(true), vue.createBlock(vue.Fragment, null, vue.renderList(_ctx.tableData.columns, function (col, colIdx) {
|
|
10820
10820
|
return vue.openBlock(), vue.createBlock("td", {
|
|
10821
|
-
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],
|
|
10822
10822
|
key: rowIdx + '-' + colIdx
|
|
10823
10823
|
}, [col.component ? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(col.component), {
|
|
10824
10824
|
key: 0,
|
|
@@ -10833,7 +10833,7 @@ function render$8(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10833
10833
|
}), 128))], 10, ["onClick"]);
|
|
10834
10834
|
}), 128)), !_ctx.hasContent ? (vue.openBlock(), vue.createBlock("tr", _hoisted_17, [vue.createVNode("td", {
|
|
10835
10835
|
colspan: _ctx.tableData.columns.length,
|
|
10836
|
-
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"
|
|
10837
10837
|
}, " No items were found! ", 8, ["colspan"])])) : vue.createCommentVNode("", true)])])]), _ctx.hasContent ? (vue.openBlock(), vue.createBlock(_component_Paginator, {
|
|
10838
10838
|
key: 0,
|
|
10839
10839
|
modelValue: _ctx.pagination,
|
|
@@ -10891,23 +10891,23 @@ var Tabs = (_dec$7 = Options({
|
|
|
10891
10891
|
var c = "";
|
|
10892
10892
|
|
|
10893
10893
|
if (this.pillDesign) {
|
|
10894
|
-
c = "px-12 py-2 font-
|
|
10894
|
+
c = "px-12 py-2 font-semibold text-md leading-5 rounded-t-md focus:outline-none ";
|
|
10895
10895
|
|
|
10896
10896
|
if (this.modelValue === currentTab) {
|
|
10897
10897
|
c = c + "focus:bg-white text-gray-700 bg-white border-b-2 border-blue-500";
|
|
10898
10898
|
} else {
|
|
10899
|
-
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";
|
|
10900
10900
|
}
|
|
10901
10901
|
|
|
10902
10902
|
return c;
|
|
10903
10903
|
}
|
|
10904
10904
|
|
|
10905
|
-
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 ";
|
|
10906
10906
|
|
|
10907
10907
|
if (this.modelValue === currentTab) {
|
|
10908
10908
|
c = c + "border-blue-500 text-xy-blue focus:text-blue-800 focus:border-blue-700";
|
|
10909
10909
|
} else {
|
|
10910
|
-
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";
|
|
10911
10911
|
}
|
|
10912
10912
|
|
|
10913
10913
|
if (pastFirstTab) c = c + " ml-8";
|
|
@@ -11095,13 +11095,13 @@ var _hoisted_2$3 = {
|
|
|
11095
11095
|
class: "h-5 flex items-center"
|
|
11096
11096
|
};
|
|
11097
11097
|
var _hoisted_3$1 = {
|
|
11098
|
-
class: "ml-3 text-sm leading-
|
|
11098
|
+
class: "ml-3 text-sm font-semibold leading-snug text-gray-900"
|
|
11099
11099
|
};
|
|
11100
11100
|
function render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11101
11101
|
return vue.openBlock(), vue.createBlock("div", _hoisted_1$3, [vue.createVNode("div", _hoisted_2$3, [vue.createVNode("input", vue.mergeProps({
|
|
11102
11102
|
"aria-labelledby": _ctx.label ? "".concat(_ctx.uuid, "-label") : undefined,
|
|
11103
11103
|
checked: _ctx.modelValue,
|
|
11104
|
-
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",
|
|
11105
11105
|
id: _ctx.uuid,
|
|
11106
11106
|
type: "checkbox"
|
|
11107
11107
|
}, _objectSpread2$1(_objectSpread2$1({}, _ctx.$attrs), {}, {
|
|
@@ -11111,11 +11111,8 @@ function render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11111
11111
|
})), null, 16, ["aria-labelledby", "checked", "id"])]), vue.createVNode("div", _hoisted_3$1, [vue.createVNode("label", {
|
|
11112
11112
|
id: "".concat(_ctx.uuid, "-label"),
|
|
11113
11113
|
for: _ctx.uuid,
|
|
11114
|
-
class: {
|
|
11115
|
-
'font-semibold': _ctx.emphasis
|
|
11116
|
-
},
|
|
11117
11114
|
textContent: vue.toDisplayString(_ctx.label)
|
|
11118
|
-
}, null,
|
|
11115
|
+
}, null, 8, ["id", "for", "textContent"])])]);
|
|
11119
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;
|
|
11120
11117
|
var MultiCheckboxes = (_dec$4 = Options({
|
|
11121
11118
|
name: "MultiCheckboxes",
|
|
@@ -11195,7 +11192,7 @@ var _hoisted_2$2 = {
|
|
|
11195
11192
|
class: "flex items-center h-5"
|
|
11196
11193
|
};
|
|
11197
11194
|
var _hoisted_3 = {
|
|
11198
|
-
class: "ml-3 text-sm leading-
|
|
11195
|
+
class: "ml-3 text-sm font-semibold leading-snug text-gray-900"
|
|
11199
11196
|
};
|
|
11200
11197
|
function render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11201
11198
|
var _component_InputLabel = vue.resolveComponent("InputLabel");
|
|
@@ -11210,7 +11207,7 @@ function render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11210
11207
|
key: option.value
|
|
11211
11208
|
}, [vue.createVNode("div", _hoisted_1$2, [vue.createVNode("div", _hoisted_2$2, [vue.withDirectives(vue.createVNode("input", vue.mergeProps({
|
|
11212
11209
|
type: "checkbox",
|
|
11213
|
-
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",
|
|
11214
11211
|
id: "".concat(_ctx.uuid, "-").concat(index),
|
|
11215
11212
|
value: option.value,
|
|
11216
11213
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = function ($event) {
|
|
@@ -11283,7 +11280,7 @@ var Radio = (_dec$3 = Options({
|
|
|
11283
11280
|
class: "mt-1 space-y-2"
|
|
11284
11281
|
};
|
|
11285
11282
|
var _hoisted_2$1 = {
|
|
11286
|
-
class: "block ml-2 text-sm font-
|
|
11283
|
+
class: "block ml-2 text-sm font-semibold text-gray-900"
|
|
11287
11284
|
};
|
|
11288
11285
|
function render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11289
11286
|
var _component_InputLabel = vue.resolveComponent("InputLabel");
|
|
@@ -11302,7 +11299,7 @@ function render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11302
11299
|
for: "".concat(_ctx.uuid, "-").concat(index)
|
|
11303
11300
|
}, [vue.createVNode("input", vue.mergeProps({
|
|
11304
11301
|
checked: _ctx.modelValue === option.value,
|
|
11305
|
-
class: "w-4 h-4 border-gray-
|
|
11302
|
+
class: "w-4 h-4 border-gray-600 focus:ring-blue-500 text-xy-blue",
|
|
11306
11303
|
id: "".concat(_ctx.uuid, "-").concat(index),
|
|
11307
11304
|
name: _ctx.uuid,
|
|
11308
11305
|
type: "radio",
|
|
@@ -11337,7 +11334,7 @@ var Select = (_dec$2 = Options({
|
|
|
11337
11334
|
required: false,
|
|
11338
11335
|
default: "Select an option"
|
|
11339
11336
|
}), _dec7 = Prop({
|
|
11340
|
-
type: String,
|
|
11337
|
+
type: [String, Number],
|
|
11341
11338
|
required: true
|
|
11342
11339
|
}), _dec$2(_class$2 = (_class2$2 = /*#__PURE__*/function (_Vue) {
|
|
11343
11340
|
_inherits$1(Select, _Vue);
|
|
@@ -11377,9 +11374,9 @@ var Select = (_dec$2 = Options({
|
|
|
11377
11374
|
get: function get() {
|
|
11378
11375
|
var design = this.design ? this.design : "undefined";
|
|
11379
11376
|
return {
|
|
11380
|
-
undefined: "mt-1 block w-full border border-gray-
|
|
11381
|
-
standard: "mt-1 block w-full border border-gray-
|
|
11382
|
-
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"
|
|
11383
11380
|
}[design];
|
|
11384
11381
|
}
|
|
11385
11382
|
}]);
|
|
@@ -11522,7 +11519,7 @@ var TextArea = (_dec$1 = Options({
|
|
|
11522
11519
|
}, null, 8, ["id", "for", "label"]), vue.createVNode("textarea", vue.mergeProps({
|
|
11523
11520
|
"aria-labelledby": _ctx.label ? "".concat(_ctx.uuid, "-label") : undefined,
|
|
11524
11521
|
"aria-describedby": _ctx.help ? "".concat(_ctx.uuid, "-help") : undefined,
|
|
11525
|
-
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'],
|
|
11526
11523
|
id: _ctx.uuid,
|
|
11527
11524
|
value: _ctx.modelValue,
|
|
11528
11525
|
onInput: _cache[1] || (_cache[1] = function ($event) {
|
|
@@ -11599,11 +11596,11 @@ var YesOrNoRadio = (_dec = Options({
|
|
|
11599
11596
|
writable: true,
|
|
11600
11597
|
initializer: null
|
|
11601
11598
|
})), _class2)) || _class);var _hoisted_1 = /*#__PURE__*/vue.createVNode("span", {
|
|
11602
|
-
class: "block ml-2 text-sm font-
|
|
11599
|
+
class: "block ml-2 text-sm font-semibold text-gray-900"
|
|
11603
11600
|
}, "Yes", -1);
|
|
11604
11601
|
|
|
11605
11602
|
var _hoisted_2 = /*#__PURE__*/vue.createVNode("span", {
|
|
11606
|
-
class: "block ml-2 text-sm font-
|
|
11603
|
+
class: "block ml-2 text-sm font-semibold text-gray-900"
|
|
11607
11604
|
}, "No", -1);
|
|
11608
11605
|
|
|
11609
11606
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
@@ -11620,7 +11617,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11620
11617
|
for: "".concat(_ctx.hasNameAttr ? _ctx.name : _ctx.uuid, "-true")
|
|
11621
11618
|
}, [vue.createVNode("input", vue.mergeProps({
|
|
11622
11619
|
type: "radio",
|
|
11623
|
-
class: "w-4 h-4 border-gray-
|
|
11620
|
+
class: "w-4 h-4 border-gray-600 focus:ring-blue-500 text-xy-blue",
|
|
11624
11621
|
id: "".concat(_ctx.hasNameAttr ? _ctx.name : _ctx.uuid, "-true"),
|
|
11625
11622
|
name: _ctx.hasNameAttr ? _ctx.name : _ctx.uuid,
|
|
11626
11623
|
value: true,
|
|
@@ -11636,7 +11633,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11636
11633
|
for: "".concat(_ctx.hasNameAttr ? _ctx.name : _ctx.uuid, "-false")
|
|
11637
11634
|
}, [vue.createVNode("input", vue.mergeProps({
|
|
11638
11635
|
type: "radio",
|
|
11639
|
-
class: "w-4 h-4 border-gray-
|
|
11636
|
+
class: "w-4 h-4 border-gray-600 focus:ring-blue-500 text-xy-blue",
|
|
11640
11637
|
id: "".concat(_ctx.hasNameAttr ? _ctx.name : _ctx.uuid, "-false"),
|
|
11641
11638
|
name: _ctx.hasNameAttr ? _ctx.name : _ctx.uuid,
|
|
11642
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.4",
|
|
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",
|