@pb33f/cowboy-components 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/problem-list/details-drawer.js +1 -1
- package/dist/components/problem-list/problem-item.d.ts +3 -3
- package/dist/components/problem-list/problem-item.js +3 -3
- package/dist/components/problem-list/problem-label-view-filter.js +1 -1
- package/dist/components/problem-list/problem-list.d.ts +3 -3
- package/dist/components/problem-list/problem-list.js +11 -11
- package/dist/components/problem-list/problem-mainview.d.ts +1 -1
- package/dist/components/problem-list/problem-mainview.js +3 -3
- package/dist/components/problem-list/problem-rule-filter.js +1 -1
- package/dist/components/problem-list/problem-search-filter.js +1 -1
- package/dist/components/problem-list/problem-sort-filter.js +1 -1
- package/dist/components/problems-overview/diagnostic-evaluation.js +3 -3
- package/dist/components/problems-overview/problem-overview-group.d.ts +1 -1
- package/dist/components/problems-overview/problem-overview-group.js +5 -5
- package/dist/components/problems-overview/problem-statistics.d.ts +2 -2
- package/dist/components/problems-overview/problem-statistics.js +2 -2
- package/dist/components/problems-overview/problems-overview.d.ts +3 -3
- package/dist/components/problems-overview/problems-overview.js +4 -4
- package/dist/components/the-doctor/status-bar.js +1 -1
- package/dist/components/the-doctor/the-doctor.d.ts +1 -1
- package/dist/components/the-doctor/the-doctor.js +9 -9
- package/package.json +1 -1
|
@@ -8,7 +8,7 @@ import '@shoelace-style/shoelace/dist/components/drawer/drawer.js';
|
|
|
8
8
|
import { customElement, query } from "lit/decorators.js";
|
|
9
9
|
import { html, LitElement } from "lit";
|
|
10
10
|
import { unsafeHTML } from "lit/directives/unsafe-html.js";
|
|
11
|
-
import syntaxCss from "
|
|
11
|
+
import syntaxCss from "../../css/chroma-synxtax.css.js";
|
|
12
12
|
import detailsDrawerCss from "./details-drawer.css.js";
|
|
13
13
|
import sharedCss from "./shared.css.js";
|
|
14
14
|
export var ProblemDrawerEventType;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { LitElement, TemplateResult } from "lit";
|
|
2
|
-
import { Problem } from "
|
|
3
|
-
import { ProblemLabelView } from "
|
|
4
|
-
import { ProblemList } from "
|
|
2
|
+
import { Problem } from "../../model/problem.js";
|
|
3
|
+
import { ProblemLabelView } from "./problem-label-view-filter.js";
|
|
4
|
+
import { ProblemList } from "./problem-list.js";
|
|
5
5
|
export declare class ProblemItem extends LitElement {
|
|
6
6
|
static styles: import("lit").CSSResult[];
|
|
7
7
|
source: string;
|
|
@@ -6,9 +6,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
6
6
|
};
|
|
7
7
|
import { customElement, property, query } from "lit/decorators.js";
|
|
8
8
|
import { html, LitElement } from "lit";
|
|
9
|
-
import { ProblemClicked } from "
|
|
10
|
-
import { getProblemClass, getProblemIcon } from "
|
|
11
|
-
import { ProblemLabelView } from "
|
|
9
|
+
import { ProblemClicked } from "../../events/doctor.js";
|
|
10
|
+
import { getProblemClass, getProblemIcon } from "../../model/problem.js";
|
|
11
|
+
import { ProblemLabelView } from "./problem-label-view-filter.js";
|
|
12
12
|
import { unsafeHTML } from "lit/directives/unsafe-html.js";
|
|
13
13
|
import { marked } from "marked";
|
|
14
14
|
import problemItemCss from "./problem-item.css.js";
|
|
@@ -11,7 +11,7 @@ import { customElement, property } from "lit/decorators.js";
|
|
|
11
11
|
import { html, LitElement } from "lit";
|
|
12
12
|
import problemLabelViewFilterCss from "./problem-label-view-filter.css.js";
|
|
13
13
|
import filterCss from "./filter.css.js";
|
|
14
|
-
import { ProblemLabelViewFilterChanged } from "
|
|
14
|
+
import { ProblemLabelViewFilterChanged } from "../../events/doctor.js";
|
|
15
15
|
export var ProblemLabelView;
|
|
16
16
|
(function (ProblemLabelView) {
|
|
17
17
|
ProblemLabelView["JSONPath"] = "Path";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { LitElement } from "lit";
|
|
2
|
-
import { ProblemItem } from "
|
|
3
|
-
import { MainViewSlideChangedEvent, ProblemClickedEvent, ProblemRuleFilterChangedEvent } from "
|
|
4
|
-
import { Problem } from "
|
|
2
|
+
import { ProblemItem } from "../../components/problem-list/problem-item.js";
|
|
3
|
+
import { MainViewSlideChangedEvent, ProblemClickedEvent, ProblemRuleFilterChangedEvent } from "../../events/doctor";
|
|
4
|
+
import { Problem } from "../../model/problem";
|
|
5
5
|
export declare class ProblemList extends LitElement {
|
|
6
6
|
static styles: import("lit").CSSResult[];
|
|
7
7
|
private searchWorker;
|
|
@@ -6,18 +6,18 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
6
6
|
};
|
|
7
7
|
import { customElement } from "lit/decorators.js";
|
|
8
8
|
import { html, LitElement } from "lit";
|
|
9
|
-
import { ProblemItem } from "
|
|
10
|
-
import { ProblemMainView } from "
|
|
11
|
-
import { MainViewSlideChanged, ProblemClicked, ProblemLabelViewFilterChanged, ProblemSortFilterChanged, ProblemSearchFilterChanged, MessageEvent, ProblemRuleFilterChanged, ProblemRuleFilterChangedManual } from "
|
|
9
|
+
import { ProblemItem } from "../../components/problem-list/problem-item.js";
|
|
10
|
+
import { ProblemMainView } from "../../components/problem-list/problem-mainview.js";
|
|
11
|
+
import { MainViewSlideChanged, ProblemClicked, ProblemLabelViewFilterChanged, ProblemSortFilterChanged, ProblemSearchFilterChanged, MessageEvent, ProblemRuleFilterChanged, ProblemRuleFilterChangedManual } from "../../events/doctor";
|
|
12
12
|
import problemListCss from "./problem-list.css";
|
|
13
|
-
import sharedCss from "
|
|
14
|
-
import { Problem } from "
|
|
15
|
-
import { ProblemToolbar } from "
|
|
16
|
-
import { ProblemLabelView } from "
|
|
17
|
-
import { Paginator } from "
|
|
18
|
-
import { ProblemSortView } from "
|
|
19
|
-
import SearchWorker from "
|
|
20
|
-
import { Rules } from "
|
|
13
|
+
import sharedCss from "../../css/shared.css";
|
|
14
|
+
import { Problem } from "../../model/problem";
|
|
15
|
+
import { ProblemToolbar } from "./problem-toolbar";
|
|
16
|
+
import { ProblemLabelView } from "./problem-label-view-filter";
|
|
17
|
+
import { Paginator } from "../paginator/paginator";
|
|
18
|
+
import { ProblemSortView } from "./problem-sort-filter";
|
|
19
|
+
import SearchWorker from "../../workers/search-problems.worker?worker";
|
|
20
|
+
import { Rules } from "./problem-rule-filter";
|
|
21
21
|
let ProblemList = class ProblemList extends LitElement {
|
|
22
22
|
constructor() {
|
|
23
23
|
super();
|
|
@@ -2,7 +2,7 @@ import '@shoelace-style/shoelace/dist/components/carousel/carousel.js';
|
|
|
2
2
|
import '@shoelace-style/shoelace/dist/components/carousel-item/carousel-item.js';
|
|
3
3
|
import { LitElement, TemplateResult } from "lit";
|
|
4
4
|
import { ProblemItem } from "./problem-item.js";
|
|
5
|
-
import { Problem } from "
|
|
5
|
+
import { Problem } from "../../model/problem.js";
|
|
6
6
|
import { SlCarousel } from "@shoelace-style/shoelace";
|
|
7
7
|
export declare class ProblemMainView extends LitElement {
|
|
8
8
|
static styles: import("lit").CSSResult[];
|
|
@@ -13,9 +13,9 @@ import problemMainViewCss from "./problem-mainview.css.js";
|
|
|
13
13
|
import { marked } from "marked";
|
|
14
14
|
import { unsafeHTML } from "lit/directives/unsafe-html.js";
|
|
15
15
|
import sharedCss from "./shared.css.js";
|
|
16
|
-
import { getProblemClass, getProblemIcon } from "
|
|
17
|
-
import { MainViewSlideChanged, OpenProblemDrawer } from "
|
|
18
|
-
import { ProblemDrawerEventType } from "
|
|
16
|
+
import { getProblemClass, getProblemIcon } from "../../model/problem.js";
|
|
17
|
+
import { MainViewSlideChanged, OpenProblemDrawer } from "../../events/doctor.js";
|
|
18
|
+
import { ProblemDrawerEventType } from "./details-drawer.js";
|
|
19
19
|
let ProblemMainView = class ProblemMainView extends LitElement {
|
|
20
20
|
constructor() {
|
|
21
21
|
super();
|
|
@@ -6,7 +6,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
6
6
|
};
|
|
7
7
|
import { html, LitElement } from "lit";
|
|
8
8
|
import { property, customElement } from "lit/decorators.js";
|
|
9
|
-
import { ProblemRuleFilterChanged, } from "
|
|
9
|
+
import { ProblemRuleFilterChanged, } from "../../events/doctor.js";
|
|
10
10
|
import problemLabelViewFilterCss from "./problem-label-view-filter.css.js";
|
|
11
11
|
import filterCss from "./filter.css.js";
|
|
12
12
|
export var Rules;
|
|
@@ -9,7 +9,7 @@ import '@shoelace-style/shoelace/dist/components/menu/menu.js';
|
|
|
9
9
|
import '@shoelace-style/shoelace/dist/components/menu-item/menu-item.js';
|
|
10
10
|
import { customElement, property, query } from "lit/decorators.js";
|
|
11
11
|
import { html, LitElement } from "lit";
|
|
12
|
-
import { ProblemSearchFilterChanged, } from "
|
|
12
|
+
import { ProblemSearchFilterChanged, } from "../../events/doctor.js";
|
|
13
13
|
import filterCss from "./filter.css.js";
|
|
14
14
|
let ProblemSearchFilter = class ProblemSearchFilter extends LitElement {
|
|
15
15
|
constructor() {
|
|
@@ -9,7 +9,7 @@ import '@shoelace-style/shoelace/dist/components/menu/menu.js';
|
|
|
9
9
|
import '@shoelace-style/shoelace/dist/components/menu-item/menu-item.js';
|
|
10
10
|
import { customElement, property } from "lit/decorators.js";
|
|
11
11
|
import { html, LitElement } from "lit";
|
|
12
|
-
import { ProblemSortFilterChanged } from "
|
|
12
|
+
import { ProblemSortFilterChanged } from "../../events/doctor.js";
|
|
13
13
|
import problemLabelViewFilterCss from "./problem-label-view-filter.css.js";
|
|
14
14
|
import filterCss from "./filter.css.js";
|
|
15
15
|
export var ProblemSortView;
|
|
@@ -8,10 +8,10 @@ import { customElement, property } from "lit/decorators.js";
|
|
|
8
8
|
import { html, LitElement } from "lit";
|
|
9
9
|
import { marked } from "marked";
|
|
10
10
|
import { unsafeHTML } from "lit/directives/unsafe-html.js";
|
|
11
|
-
import { ProblemDrawerEventType } from "
|
|
12
|
-
import { OpenProblemDrawer } from "
|
|
11
|
+
import { ProblemDrawerEventType } from "../problem-list/details-drawer.js";
|
|
12
|
+
import { OpenProblemDrawer } from "../../events/doctor.js";
|
|
13
13
|
import diagnosticEvaluationCss from "./diagnostic-evaluation.css.js";
|
|
14
|
-
import listsCss from "
|
|
14
|
+
import listsCss from "../../css/lists.css.js";
|
|
15
15
|
let DiagnosticEvaluation = class DiagnosticEvaluation extends LitElement {
|
|
16
16
|
constructor() {
|
|
17
17
|
super();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { LitElement, TemplateResult } from "lit";
|
|
2
|
-
import { ProblemItem } from "
|
|
2
|
+
import { ProblemItem } from "../problem-list/problem-item.js";
|
|
3
3
|
export declare class ProblemOverviewGroup extends LitElement {
|
|
4
4
|
static styles: import("lit").CSSResult[];
|
|
5
5
|
rank: number;
|
|
@@ -7,11 +7,11 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
7
7
|
import { customElement, property } from "lit/decorators.js";
|
|
8
8
|
import { html, LitElement } from "lit";
|
|
9
9
|
import problemOverviewGroupCss from "./problem-overview-group.css.js";
|
|
10
|
-
import { ProblemDrawerEventType } from "
|
|
11
|
-
import { OpenProblemDrawer, ProblemClicked, RuleClicked } from "
|
|
12
|
-
import sharedCss from "
|
|
13
|
-
import buttonCss from "
|
|
14
|
-
import { ProblemItem } from "
|
|
10
|
+
import { ProblemDrawerEventType } from "../problem-list/details-drawer.js";
|
|
11
|
+
import { OpenProblemDrawer, ProblemClicked, RuleClicked } from "../../events/doctor.js";
|
|
12
|
+
import sharedCss from "../../css/shared.css.js";
|
|
13
|
+
import buttonCss from "../../css/button.css.js";
|
|
14
|
+
import { ProblemItem } from "../problem-list/problem-item.js";
|
|
15
15
|
let ProblemOverviewGroup = class ProblemOverviewGroup extends LitElement {
|
|
16
16
|
constructor() {
|
|
17
17
|
super();
|
|
@@ -2,8 +2,8 @@ import '@shoelace-style/shoelace/dist/components/card/card.js';
|
|
|
2
2
|
import './problem-statistic.js';
|
|
3
3
|
import './document-statistic.js';
|
|
4
4
|
import { LitElement } from "lit";
|
|
5
|
-
import { DrDiagnostics } from "
|
|
6
|
-
import { ProblemItem } from "
|
|
5
|
+
import { DrDiagnostics } from "../../model/document-statistics.js";
|
|
6
|
+
import { ProblemItem } from "../problem-list/problem-item.js";
|
|
7
7
|
export declare class ProblemStatisticsComponent extends LitElement {
|
|
8
8
|
static styles: import("lit").CSSResult[];
|
|
9
9
|
problems: ProblemItem[];
|
|
@@ -9,9 +9,9 @@ import './problem-statistic.js';
|
|
|
9
9
|
import './document-statistic.js';
|
|
10
10
|
import { customElement, property } from "lit/decorators.js";
|
|
11
11
|
import { html, LitElement } from "lit";
|
|
12
|
-
import { Problem } from "
|
|
12
|
+
import { Problem } from "../../model/problem.js";
|
|
13
13
|
import problemStatisticsCss from "./problem-statistics.css.js";
|
|
14
|
-
import { DocumentStatistics } from "
|
|
14
|
+
import { DocumentStatistics } from "../../model/document-statistics.js";
|
|
15
15
|
let ProblemStatisticsComponent = class ProblemStatisticsComponent extends LitElement {
|
|
16
16
|
// private problemStatistics: ProblemStatistics;
|
|
17
17
|
constructor() {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { LitElement } from "lit";
|
|
2
2
|
import './diagnostic-evaluation.js';
|
|
3
|
-
import '
|
|
3
|
+
import '../percent-bar/percent-bar.js';
|
|
4
4
|
import { SlResizeObserver } from "@shoelace-style/shoelace";
|
|
5
|
-
import { ProblemItem } from "
|
|
6
|
-
import { DrDiagnostics } from "
|
|
5
|
+
import { ProblemItem } from "../problem-list/problem-item.js";
|
|
6
|
+
import { DrDiagnostics } from "../../model/document-statistics.js";
|
|
7
7
|
export declare class ProblemsOverview extends LitElement {
|
|
8
8
|
static styles: import("lit").CSSResult[];
|
|
9
9
|
problemList: ProblemItem[];
|
|
@@ -6,14 +6,14 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
6
6
|
};
|
|
7
7
|
import { customElement, property, query } from "lit/decorators.js";
|
|
8
8
|
import { html, LitElement } from "lit";
|
|
9
|
-
import { Problem } from "
|
|
9
|
+
import { Problem } from "../../model/problem.js";
|
|
10
10
|
import { ProblemStatisticsComponent } from "./problem-statistics.js";
|
|
11
11
|
import './diagnostic-evaluation.js';
|
|
12
|
-
import '
|
|
12
|
+
import '../percent-bar/percent-bar.js';
|
|
13
13
|
import { ProblemOverviewGroup } from "./problem-overview-group.js";
|
|
14
14
|
import problemsOverviewCss from "./problems-overview.css.js";
|
|
15
|
-
import { Paginator } from "
|
|
16
|
-
import { DrDiagnostics } from "
|
|
15
|
+
import { Paginator } from "../paginator/paginator.js";
|
|
16
|
+
import { DrDiagnostics } from "../../model/document-statistics.js";
|
|
17
17
|
let ProblemsOverview = class ProblemsOverview extends LitElement {
|
|
18
18
|
constructor() {
|
|
19
19
|
super();
|
|
@@ -7,7 +7,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
7
7
|
import { customElement, property, query } from "lit/decorators.js";
|
|
8
8
|
import { html, LitElement } from "lit";
|
|
9
9
|
import statusBarCss from "./status-bar.css.js";
|
|
10
|
-
import linksCss from "
|
|
10
|
+
import linksCss from "../../css/links.css.js";
|
|
11
11
|
let StatusBar = class StatusBar extends LitElement {
|
|
12
12
|
constructor() {
|
|
13
13
|
super();
|
|
@@ -6,7 +6,7 @@ import '@shoelace-style/shoelace/dist/components/switch/switch.js';
|
|
|
6
6
|
import '@shoelace-style/shoelace/dist/components/dialog/dialog.js';
|
|
7
7
|
import { LitElement } from "lit";
|
|
8
8
|
import { EditorUpdatedEvent, ProblemRuleFilterChangedEvent } from "@/events/doctor";
|
|
9
|
-
import { ProblemDrawerEvent } from "
|
|
9
|
+
import { ProblemDrawerEvent } from "../problem-list/details-drawer.js";
|
|
10
10
|
import { SlSwitch, SlTab, SlTabGroup } from "@shoelace-style/shoelace";
|
|
11
11
|
export declare const DoctorDocumentBag = "pb33f-doctor-editor";
|
|
12
12
|
export declare const HowToFixBag = "pb33f-doctor-howtofix";
|
|
@@ -12,18 +12,18 @@ import '@shoelace-style/shoelace/dist/components/switch/switch.js';
|
|
|
12
12
|
import '@shoelace-style/shoelace/dist/components/dialog/dialog.js';
|
|
13
13
|
import { customElement, property, query } from "lit/decorators.js";
|
|
14
14
|
import { html, LitElement } from "lit";
|
|
15
|
-
import { SpecEditor } from "
|
|
15
|
+
import { SpecEditor } from "../editor/editor.js";
|
|
16
16
|
import { ActiveView, EditorClicked, EditorUpdated, OpenProblemDrawer, ProblemClicked, ProblemRuleFilterChangedManual, RuleClicked } from "@/events/doctor";
|
|
17
17
|
import { CreateBagManager } from "@pb33f/saddlebag";
|
|
18
|
-
import { LintingService } from "
|
|
19
|
-
import { ProblemList } from "
|
|
20
|
-
import { Problem } from "
|
|
21
|
-
import { ProblemDetailsDrawer, ProblemDrawerEventType } from "
|
|
22
|
-
import RuleDocumentationWorker from "
|
|
18
|
+
import { LintingService } from "../../services/linting-service";
|
|
19
|
+
import { ProblemList } from "../../components/problem-list/problem-list.js";
|
|
20
|
+
import { Problem } from "../../model/problem.js";
|
|
21
|
+
import { ProblemDetailsDrawer, ProblemDrawerEventType } from "../problem-list/details-drawer.js";
|
|
22
|
+
import RuleDocumentationWorker from "../../workers/rule-documentation.worker.js?worker";
|
|
23
23
|
import theDoctorCss from "./the-doctor.css.js";
|
|
24
|
-
import { ProblemsOverview } from "
|
|
25
|
-
import { ErrorBanner } from "
|
|
26
|
-
import { StatusBar } from "
|
|
24
|
+
import { ProblemsOverview } from "../problems-overview/problems-overview.js";
|
|
25
|
+
import { ErrorBanner } from "../error-banner/error-banner.js";
|
|
26
|
+
import { StatusBar } from "../the-doctor/status-bar.js";
|
|
27
27
|
export const DoctorDocumentBag = "pb33f-doctor-editor";
|
|
28
28
|
export const HowToFixBag = "pb33f-doctor-howtofix";
|
|
29
29
|
export const RuleDocumentationBag = "pb33f-doctor-ruledocs";
|
package/package.json
CHANGED