@operato/dataset 8.2.12 → 8.2.13
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/CHANGELOG.md +9 -0
- package/dist/src/ox-data-ooc-correction-part.js +1 -1
- package/dist/src/ox-data-ooc-correction-part.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +5 -5
- package/dist/stories/ox-checklist-entry-form-stories.d.ts +0 -19
- package/dist/stories/ox-checklist-entry-form-stories.js +0 -421
- package/dist/stories/ox-checklist-entry-form-stories.js.map +0 -1
- package/dist/stories/ox-data-entry-form.stories copy.d.ts +0 -19
- package/dist/stories/ox-data-entry-form.stories copy.js +0 -238
- package/dist/stories/ox-data-entry-form.stories copy.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,15 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
### [8.2.13](https://github.com/hatiolab/operato/compare/v8.2.12...v8.2.13) (2025-11-10)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### :bug: Bug Fix
|
|
10
|
+
|
|
11
|
+
* 그리드 푸터 페이징 변경 ([1b39602](https://github.com/hatiolab/operato/commit/1b39602a332e58dfef9874a41c08f8f341a2225c))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
6
15
|
### [8.2.12](https://github.com/hatiolab/operato/compare/v8.2.11...v8.2.12) (2025-07-29)
|
|
7
16
|
|
|
8
17
|
|
|
@@ -9,7 +9,7 @@ let OxDataOocCorrectionPart = class OxDataOocCorrectionPart extends LitElement {
|
|
|
9
9
|
var _a;
|
|
10
10
|
const { correctiveInstruction = '', correctiveAction = '', reviewer, reviewedAt, corrector, correctedAt, history } = this.dataOoc || {};
|
|
11
11
|
const formatter = new Intl.DateTimeFormat(navigator.language, { dateStyle: 'full', timeStyle: 'short' });
|
|
12
|
-
const assignee = (_a = history === null || history === void 0 ? void 0 : history.
|
|
12
|
+
const assignee = (_a = history === null || history === void 0 ? void 0 : history[history.length - 1]) === null || _a === void 0 ? void 0 : _a.user;
|
|
13
13
|
const assigneeName = (assignee === null || assignee === void 0 ? void 0 : assignee.name) || '';
|
|
14
14
|
return html `
|
|
15
15
|
${reviewer
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ox-data-ooc-correction-part.js","sourceRoot":"","sources":["../../src/ox-data-ooc-correction-part.ts"],"names":[],"mappings":";AAAA,OAAO,iCAAiC,CAAA;AACxC,OAAO,4BAA4B,CAAA;AAEnC,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,KAAK,CAAA;AACpD,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAA;AAE3D,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAA;AAKhC,IAAM,uBAAuB,GAA7B,MAAM,uBAAwB,SAAQ,UAAU;IA+DrD,MAAM;;QACJ,MAAM,EACJ,qBAAqB,GAAG,EAAE,EAC1B,gBAAgB,GAAG,EAAE,EACrB,QAAQ,EACR,UAAU,EACV,SAAS,EACT,WAAW,EACX,OAAO,EACR,GAAG,IAAI,CAAC,OAAO,IAAI,EAAE,CAAA;QACtB,MAAM,SAAS,GAAG,IAAI,IAAI,CAAC,cAAc,CAAC,SAAS,CAAC,QAAQ,EAAE,EAAE,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,CAAA;QACxG,MAAM,QAAQ,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,
|
|
1
|
+
{"version":3,"file":"ox-data-ooc-correction-part.js","sourceRoot":"","sources":["../../src/ox-data-ooc-correction-part.ts"],"names":[],"mappings":";AAAA,OAAO,iCAAiC,CAAA;AACxC,OAAO,4BAA4B,CAAA;AAEnC,OAAO,EAAE,GAAG,EAAE,IAAI,EA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,CAAC,IAAI,IAAI,CAAC,WAAY,CAAC,CAAC,qCAAqC,SAAS,CAAC,IAAI;;;0BAGpF,gBAAgB;;;;WAI/B;YACH,CAAC,CAAC,OAAO;KACZ,CAAA;IACH,CAAC;;AA7GM,8BAAM,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0DlB,AA1DY,CA0DZ;AAE2B;IAA3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;wDAAkB;AA7DlC,uBAAuB;IADnC,aAAa,CAAC,6BAA6B,CAAC;GAChC,uBAAuB,CA+GnC","sourcesContent":["import '@operato/input/ox-input-file.js'\nimport '@material/web/icon/icon.js'\n\nimport { css, html, LitElement, nothing } from 'lit'\nimport { customElement, property } from 'lit/decorators.js'\n\nimport { i18next } from '@operato/i18n'\n\nimport { DataOoc } from './types.js'\n\n@customElement('ox-data-ooc-correction-part')\nexport class OxDataOocCorrectionPart extends LitElement {\n static styles = css`\n :host {\n display: flex;\n flex-direction: column;\n\n position: relative;\n }\n\n h3 {\n margin: var(--title-margin);\n padding-top: 12px;\n font: var(--title-font);\n color: var(--title-text-color);\n font-size: 20px;\n }\n\n md-icon {\n font-size: 16px;\n }\n\n [field-state] {\n border-radius: 2px;\n background-color: var(--md-sys-color-on-primary-container);\n margin-left: var(--spacing-medium);\n padding: 1px 2px;\n font-size: 0.7rem;\n color: var(--md-sys-color-surface);\n }\n\n div {\n background-color: var(--md-sys-color-surface);\n box-shadow: var(--box-shadow);\n border-radius: var(--border-radius);\n margin: var(--page-description-margin);\n padding: var(--padding-default);\n font: var(--page-description-font);\n color: var(--md-sys-color-on-secondary-container);\n }\n\n pre {\n margin: 0 1em;\n }\n\n md-icon {\n position: relative;\n top: 3px;\n margin: 0 2px 0 10px;\n }\n\n [field-info] {\n opacity: 0.7;\n }\n\n strong {\n display: block;\n font-weight: bold;\n font-size: 0.9rem;\n }\n `\n\n @property({ type: Object }) dataOoc?: DataOoc\n\n render() {\n const {\n correctiveInstruction = '',\n correctiveAction = '',\n reviewer,\n reviewedAt,\n corrector,\n correctedAt,\n history\n } = this.dataOoc || {}\n const formatter = new Intl.DateTimeFormat(navigator.language, { dateStyle: 'full', timeStyle: 'short' })\n const assignee = history?.[history.length - 1]?.user\n const assigneeName = assignee?.name || ''\n\n return html`\n ${reviewer\n ? html`\n <h3>${i18next.t('label.corrective instruction')}</h3>\n <div>\n <span field-info\n >${formatter.format(new Date(reviewedAt!))}\n ${assigneeName\n ? html`<md-icon>account_circle</md-icon>${assigneeName} <md-icon>arrow_forward</md-icon>`\n : nothing} <md-icon>account_circle</md-icon>${reviewer.name}</span\n >\n <pre>\n <strong>${correctiveInstruction}</strong>\n </pre\n >\n </div>\n `\n : nothing}\n ${corrector\n ? html`\n <h3>${i18next.t('label.corrective action')}</h3>\n <div>\n <span field-info\n >${formatter.format(new Date(correctedAt!))} <md-icon>account_circle</md-icon>${corrector.name}</span\n >\n <pre>\n <strong>${correctiveAction}</strong>\n </pre\n >\n </div>\n `\n : nothing}\n `\n }\n}\n"]}
|